// JavaScript Document

/* for swf object start */

function __EmbedSwf(pFileName,pObjName,pWidth,pHeight,pFlashVars,pContainer,pVersion){if(swfobject){var params={};params.quality="high";params.scale="showall";params.wmode="transparent";params.allowScriptAccess="always";params.allowFullScreen="true";var attributes={};attributes.id=pObjName;attributes.name=pObjName;
params.align="middle";
if(!pVersion){pVersion="9.0.0";}
swfobject.embedSWF(pFileName,pContainer,pWidth,pHeight,pVersion,"swf/expressInstall.swf",pFlashVars,params,attributes);}}

/* for swf object end */


 function toggleImages(val)
{
   document.getElementById('div1').style.display = 'none';
   document.getElementById('div2').style.display = 'none';
   document.getElementById('div3').style.display = 'none';

   document.getElementById('link1').className = 'normal';
   document.getElementById('link2').className = 'normal';
   document.getElementById('link3').className = 'normal';

   document.getElementById('div'+val).style.display = '';
   document.getElementById('link'+val).className = 'selected';   

}


var currLayerId = "step1";

function togLayer(id) {
    if (currLayerId) setDisplay(currLayerId, "none");
    if (id) setDisplay(id, "block");
    currLayerId = id;
}

function setDisplay(id, value) {
    var elm = document.getElementById(id);
    elm.style.display = value;
}
/*Accordian Script*/
window.onload=function(){
	/*if (typeof accordinload !='undefined') {
		accordinload();
	}*/
	
	if (typeof startList !='undefined') {
		startList();
	}
}
