	menu_status = new Array();
	menu_list = new Array("A","B","C","D","E","F","G","H");



function showHide(theid){

//menu show / hide     
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);

        if(menu_status[theid] != 'show') 
        {
        	
        	try {
           switch_id.className = 'show';
  				} catch (e) {  				}
     	
 		
           menu_status[theid] = 'show';
        }	
        else{
        	try{
           switch_id.className = 'hide';
         } catch (e) {}
         
           menu_status[theid] = 'hide';
          
        }
}



}
function showHide1(theid){
//menu show / hide     
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);

        if(menu_status[theid] != 'show') 
        {
        	
        	try {
           switch_id.className = 'show';
  				} catch (e) {  				}
        	
        	
 
           menu_status[theid] = 'show';
        }
        else{
        	try{
           switch_id.className = 'hide';
         } catch (e) {}
         
           menu_status[theid] = 'hide';
         }
}
}

function ParaOver(theid) {
  
  theid.style.color="#FF0000";
  
}
function ParaOut(theid) {
  theid.style.backgroundColor="white";
  theid.style.color="black";
}



function makepage(src)
{
  // We break the closing script tag in half to prevent
  // the HTML parser from seeing it as a part of
  // the *main* page.

  return "<html>\n" +
    "<head>\n" +
    "<title>Temporary Printing Window</title>\n" +
    "<link href='guide.css' rel='stylesheet' type='text/css'><\/style>"+
    "<script>\n" +
    "function step1() {\n" +
    "  setTimeout('step2()', 10);\n" +
    "}\n" +
    "function step2() {\n" +
    "  window.print();\n" +
    "  window.close();\n" +
    "}\n" +
    "</scr" + "ipt>\n" +
    "</head>\n" +
    "<body onLoad='step1()'>\n" +
    "<div class='printpos'><img src='" + src + "'/></div>\n" +
    "</body>\n" +
    "</html>\n";
}
function printme(evt)
{
   
  link = "about:blank";
  var pw = window.open(link, "_new");
  pw.document.open();
  pw.document.write(makepage(evt));
  pw.document.close();
}

function jump(location){	
window.location.href = location;
}


function printOn(theid)
{
var str=theid.toString();
var	num1 = str.substr(28,1); 
var num2 = str.substr(29,1);
if (num2.indexOf("p") == -1)
{num1=num1+num2;}

num1 = parseInt(num1);
num1 = num1 - 1;

var imageid = "link"+num1;
var image = document.getElementById(imageid);


	
	theid.style.display="inline";
	if (screen.height > 1050)
	{image.style.left="-51";}
	else if (screen.height > 1025)
	{image.style.top="-48";}
	else if (screen.height == 768)
	{image.style.top="-51";}
	else if (screen.height == 600)
	{image.style.top="-51";}
	else if (screen.height < 1025)
		{image.style.left="-52";}
	

}
function printOff(theid)
{
	
	var str=theid.toString();
var	num1 = str.substr(28,1); 
var num2 = str.substr(29,1);
if (num2.indexOf("p") == -1)
{num1=num1+num2;}

num1 = parseInt(num1);
num1 = num1 - 1;

var imageid = "link"+num1;
var image = document.getElementById(imageid);

	
	
	theid.style.display="none";
	if(screen.height > 1500)
	{
		
		image.style.top="0";
		image.style.left="0";
		}
		else if(screen.height >= 1200)
	{
		image.style.top="0";
		image.style.left="0";
	}
	else if(screen.height > 1050)
	{
		image.style.top="0";
		image.style.left="54";
	}
	else if (screen.height == 768)
	{image.style.top="0";}
	else if (screen.height == 600)
	{image.style.top="0";}
	else if(screen.height==1050)
		{
			image.style.top="0";
			image.style.left="0";
			
			}
			else
				{
					image.style.left="0";
					}
	
}
