menu_status = new Array();

// class toggler 
function toggle(id, classOne, classTwo) 
{ 
identity=document.getElementById(id); 
class_name = identity.className; 
if (class_name == classOne) { 
identity.className = classTwo; 
} else { 
identity.className = classOne; 
} 
} 




/**************************************************************************************************************/
/*******  THIS FUNCTION IS FOR PRINT   ************************************************************************/

var shell;
function SetPrintProperties() {
try {
shell = new ActiveXObject("WScript.Shell");
shell.SendKeys("%fu");
window.setTimeout("javascript:SetPaperSize();", 1200);
window.setTimeout("javascript:setLandScape();", 2000);
} catch (e) {
alert('Please verify that your print settings have a Landscape orientation and minimum margins.');
}
}
function SetPaperSize() {
shell.sendKeys("%a{TAB}.2{TAB}0{TAB}0{TAB}0{ENTER}");
}

function setLandScape() {
shell.sendKeys("%fp");
window.print();
} 




/**************************************************************************************************************/
/****     THIS FUNCTION IS FOR BOOKMARK...    (not uesd)                                                 ******/
/****     ADD  THIS TO HTML     <a href="javascript:addIEFavorite();">Add to favorites</a>               ******/
/****     SET      'http://URL.com'      and      'SITE NAME';                                           ******/  
/**************************************************************************************************************/
/*

function addIEFavorite()
{	
	var BookMarkURL = 'http://URL.com';
	var BookMarkTitle = 'SITE NAME';
	window.external.AddFavorite(BookMarkURL,BookMarkTitle)
            }
			
*/
/**************************************************************************************************************/
/****     END BOOKMARK...                                                                                ******/