function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=400,left = 511,top = 476');");
}

		function load_content () {
			if (parent.document.getElementById('main_div')) {
				parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML;
			}
			if (!parent.document.getElementById('main_div')) {
			window.location=('index.html') ;
			}
		}


             function toggleTbody(id) {
                 if (document.getElementById) {
                     var tbod = document.getElementById(id);
                     if (tbod && typeof tbod.className == 'string') {
                         if (tbod.className == 'off') {
                             tbod.className = 'on';
                         } else {
                             tbod.className = 'off';
                         }
                     }
                 }
                 return false;
             }
             function toggleTbodyOff(id) {
                 if (document.getElementById) {
                     var tbod = document.getElementById(id);
                     if (tbod && typeof tbod.className == 'string') {
                         if (tbod.className == 'off') {
                             tbod.className = 'off';
                         } else {
                             tbod.className = 'off';
                         }
                     }
                 }
                 return false;
             }
             function toggleTbodyOn(id) {
                 if (document.getElementById) {
                     var tbod = document.getElementById(id);
                     if (tbod && typeof tbod.className == 'string') {
                         if (tbod.className == 'off') {
                             tbod.className = 'on';
                         } else {
                             tbod.className = 'on';
                         }
                     }
                 }
                 return false;
             }

function msg() {
document.mailer.action = "mailto:" 
mailtoandsubject = ((document.mailer.recipient.options[document.mailer.recipient.selectedIndex].value) + '?subject=' + document.mailer.subject.value); 
} 



toggleTbodyOn('mswebmail');
toggleTbodyOff('webmail');
toggleTbodyOff('account');
toggleTbodyOff('cpanel');
