/* Fix for IE Image flicker */
try {
  document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}

/* Function used for FAQs */
var vOpened='';
function chgClass(vObj, vClass){
	if(document.getElementById(vObj).className=='additional-content'){
		if(vOpened!='')
			document.getElementById(vOpened).className='additional-content';
		document.getElementById(vObj).className='additional-content-on';
		vOpened=vObj;
	} else {
		document.getElementById(vObj).className='additional-content';
	}
}

function showPopup (id) {

	if (document.getElementById(id).style.display != "block") 
			{
				document.getElementById(id).style.display="block";
			}
		else 
			{
				document.getElementById(id).style.display="none";
			}
	
}



function showDtls(id, st){
	if(st==0){
		document.getElementById("info"+id).style.visibility = "visible";
	} else {
		document.getElementById("info"+id).style.visibility = "hidden";
	}
}

function change(id) {
	document.getElementById(id).className='selected';
}

function ZoomIn(id)
{
      var mySwf = window.document.getElementById(id);
      mySwf.Zoom(50); 
      return false;
 }
 function ZoomOut(id)
{
      var mySwf = window.document.getElementById(id);
      mySwf.Zoom(200); 
      return false;
 }
 function Reset(id)
 {
     var mySwf = window.document.getElementById(id);
     mySwf.Zoom(0);
     return false;
 }
 


