function toggle(targetId){if (document.getElementById){target = document.getElementById(targetId)};if (target.style.display == "none"){target.style.display = "";} else {target.style.display = "none";}}


var userSheet=getCookieData("sheet");


if (userSheet=="mainstyle") {window.document.form_1.radio_1.checked=true; 
window.document.form_1.radio_4.checked=false;window.document.form_1.radio_5.checked=false;
}

else if (userSheet=="work") {window.document.form_1.radio_1.checked=false;
window.document.form_1.radio_4.checked=true;window.document.form_1.radio_5.checked=false;}

else

{

window.document.form_1.radio_1.checked=false;
window.document.form_1.radio_4.checked=false;window.document.form_1.radio_5.checked=true;}
 



var the_date=new Date("May 9,2010");
var the_cookie_date=the_date.toGMTString();



function offButton(){var the_box = window.document.form_1.radio_1;if (the_box.checked == true) {window.document.form_1.radio_4.checked=false;window.document.form_1.radio_5.checked=false;}var the_cookie_sheet='sheet=mainstyle'; var the_cookie=the_cookie_sheet+';expires='+the_cookie_date+';' + 'path=/;';
document.cookie=the_cookie; window.location=window.location;}


function workButton()
{

window.document.form_1.radio_1.checked = false; 
window.document.form_1.radio_5.checked = false; 
var the_cookie_sheet='sheet=work'; 
var the_cookie=the_cookie_sheet+';expires='+the_cookie_date+';' + 'path=/;';
document.cookie=the_cookie; window.location=window.location;

}

function newButton()
{

window.document.form_1.radio_1.checked = false; 
window.document.form_1.radio_4.checked = false; 

var the_cookie_sheet='sheet=newstyle'; 
var the_cookie=the_cookie_sheet+';expires='+the_cookie_date+';' + 'path=/;';
document.cookie=the_cookie; window.location=window.location;

}




function position(){

if (document.layers) {

document.rightnav.position = "relative"; document.rightnav.left = 0; document.rightnav.top = 10;} 
}


position();