function embeddedBios(objId) {
    document.getElementById("tr_embedded_0").style.display = 'none';
    document.getElementById("tr_embedded_1").style.display = 'none';
    document.getElementById("div_embedded_1").style.display = 'none';
    document.getElementById("tr_embedded_2").style.display = 'none';
    document.getElementById("div_embedded_2").style.display = 'none';
    document.getElementById("tr_embedded_3").style.display = 'none';
    document.getElementById("div_embedded_3").style.display = 'none';
    document.getElementById("tr_embedded_" + objId).style.display = '';
    if (document.getElementById("div_embedded_" + objId) && document.getElementById("div_embedded_" + objId) != null) {
        document.getElementById("div_embedded_" + objId).style.display = '';
    }
}

var highReso_ArrText = new Array();
highReso_ArrText[0]="Australia";
highReso_ArrText[1]="AwardCore Tiano Splash Screen";
highReso_ArrText[2]="Baseball";
highReso_ArrText[3]="Basketball";
highReso_ArrText[4]="Bicycle";
highReso_ArrText[5]="PC 3.0 BIOS Diagram";
highReso_ArrText[6]="Community Work";
highReso_ArrText[7]="Cricket";
highReso_ArrText[8]="Diving in malysia";
highReso_ArrText[9]="Gaurav Banga, CTO and SVP Engineering, Phoenix Technologies";
highReso_ArrText[10]="";
highReso_ArrText[11]="";
highReso_ArrText[12]="FailSafe - Login Screen";
highReso_ArrText[13]="FailSafe - Where is My PC, Track It";
highReso_ArrText[14]="FailSafe - Tracking Details";
highReso_ArrText[15]="FailSafe - Protect Your PC";
highReso_ArrText[16]="FamilyBBQ";
highReso_ArrText[17]="HyperSpace 'Cube' Architecture Diagram";
highReso_ArrText[18]="";
highReso_ArrText[19]="Julia Wu, Head of Taiwan & PRC Field Operations, Phoenix Technologies";
highReso_ArrText[20]="Ling Zhao, General Manager of China Region, Phoenix Technologies";
highReso_ArrText[21]="Malysia-Angkor";
highReso_ArrText[22]="On the beach in Australia";
highReso_ArrText[23]="Rafting in Bali";
highReso_ArrText[24]="Remote Debug Station Architecture Diagram";
highReso_ArrText[25]="Wine tasting in NewZealand";
highReso_ArrText[26]="Woody Hobbs, President & CEO, Phoenix Technologies";
highReso_ArrText[27]="";
highReso_ArrText[28]="Team Building";
highReso_ArrText[29]="Playing Survivor";

var image_ArrText = new Array();
image_ArrText[0]="/images/phoenix/Press/Australia2preview.jpg";
image_ArrText[1]="/images/phoenix/Press/AwardCore_Tiano_splash_preview.jpg";
image_ArrText[2]="/images/phoenix/Press/baseballgameinJapanpreview.jpg";
image_ArrText[3]="/images/phoenix/Press/BasketballTeam1preview.jpg";
image_ArrText[4]="/images/phoenix/Press/bicycleteampreview.jpg";
image_ArrText[5]="/images/phoenix/Press/biosPc30_preview.jpg";
image_ArrText[6]="/images/phoenix/Press/Communitywork2preview.jpg";
image_ArrText[7]="/images/phoenix/Press/Cricketpreview.JPG";
image_ArrText[8]="/images/phoenix/Press/DivinginMalysiapreview.jpg";
image_ArrText[9]="/images/phoenix/Press/DrGauravBanga_preview.jpg";
image_ArrText[10]="/images/phoenix/Press/DSC01446_JPG1preview.jpg";
image_ArrText[11]="/images/phoenix/Press/DSC01465_JPG1preview.jpg";
image_ArrText[12]="/images/phoenix/Press/failSafe_login_preview.jpg";
image_ArrText[13]="/images/phoenix/Press/failSafe_map_preview.jpg";
image_ArrText[14]="/images/phoenix/Press/failSafe_more_preview.jpg";
image_ArrText[15]="/images/phoenix/Press/failSafe_protect_preview.jpg";
image_ArrText[16]="/images/phoenix/Press/FamilyBBQpreview.JPG";
image_ArrText[17]="/images/phoenix/Press/hyperspaceCube_preview.jpg";
image_ArrText[18]="/images/phoenix/Press/IMG_2077_jpg1preview.jpg";
image_ArrText[19]="/images/phoenix/Press/Julia_preview.jpg";
image_ArrText[20]="/images/phoenix/Press/LingZhao_preview.jpg";
image_ArrText[21]="/images/phoenix/Press/MalaysiaAngkorWatpreview.jpg";
image_ArrText[22]="/images/phoenix/Press/onthebeachinAustraliapreview.jpg";
image_ArrText[23]="/images/phoenix/Press/RaftinginBalipreview.jpg";
image_ArrText[24]="/images/phoenix/Press/RemoteValidationDebugLab_preview.jpg";
image_ArrText[25]="/images/phoenix/Press/WinetastinginNewZealandpreview.jpg";
image_ArrText[26]="/images/phoenix/Press/WoodyHobbs_preview.jpg";
image_ArrText[27]="";
image_ArrText[28]="";
image_ArrText[29]="";

var tif_ArrText = new Array();
tif_ArrText[0]="";
tif_ArrText[1]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/AwardCore_Tiano_splash_print.tif";
tif_ArrText[2]="";
tif_ArrText[3]="";
tif_ArrText[4]="";
tif_ArrText[5]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/biosPc30.tif";
tif_ArrText[6]="";
tif_ArrText[7]="";
tif_ArrText[8]="";
tif_ArrText[9]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/DrGauravBanga_print.tif";
tif_ArrText[10]="";
tif_ArrText[11]="";
tif_ArrText[12]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/failSafe_login_print.tif";
tif_ArrText[13]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/failSafe_map_print.tif";
tif_ArrText[14]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/failSafe_more_print.tif";
tif_ArrText[15]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/failSafe_protect_print.tif";
tif_ArrText[16]="";
tif_ArrText[17]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/hyperspaceCube_print.tif";
tif_ArrText[18]="";
tif_ArrText[19]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/Julia_print.tif";
tif_ArrText[20]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/LingZhao_print.tif";
tif_ArrText[21]="";
tif_ArrText[22]="";
tif_ArrText[23]="";
tif_ArrText[24]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/RemoteValidationDebugLab_print.tif";
tif_ArrText[25]="";
tif_ArrText[26]="http://branding.phoenix.com/phoenix/PressKits/Shanghai/WoodyHobbs_print.tif";
tif_ArrText[27]="";
tif_ArrText[28]="";
tif_ArrText[29]="";

var jpg_sizes = new Array();
jpg_sizes[0]="";
jpg_sizes[1]="jpg (18.0 KB)";
jpg_sizes[2]="";
jpg_sizes[3]="";
jpg_sizes[4]="";
jpg_sizes[5]="jpg (27.3 KB)";
jpg_sizes[6]="";
jpg_sizes[7]="";
jpg_sizes[8]="";
jpg_sizes[9]="jpg (17.8 KB)";
jpg_sizes[10]="";
jpg_sizes[11]="";
jpg_sizes[12]="jpg (18.7 KB)";
jpg_sizes[13]="jpg (28.8 KB)";
jpg_sizes[14]="jpg (19.4 KB)";
jpg_sizes[15]="jpg (23.4 KB)";
jpg_sizes[16]="";
jpg_sizes[17]="jpg (22.4 KB)";
jpg_sizes[18]="";
jpg_sizes[19]="jpg (17.0 KB)";
jpg_sizes[20]="jpg (20.7 KB)";
jpg_sizes[21]="";
jpg_sizes[22]="";
jpg_sizes[23]="";
jpg_sizes[24]="jpg (26.4 KB)";
jpg_sizes[25]="";
jpg_sizes[26]="jpg (19.3 KB)";
jpg_sizes[27]="";
jpg_sizes[28]="";
jpg_sizes[29]="";

var tif_sizes = new Array();
tif_sizes[0]="";
tif_sizes[1]="tif (12.4 MB)";
tif_sizes[2]="";
tif_sizes[3]="";
tif_sizes[4]="";
tif_sizes[5]="tif (7.2 MB)";
tif_sizes[6]="";
tif_sizes[7]="";
tif_sizes[8]="";
tif_sizes[9]="tif (2.9 MB)";
tif_sizes[10]="";
tif_sizes[11]="";
tif_sizes[12]="tif (2.3 MB)";
tif_sizes[13]="tif (2.3 MB)";
tif_sizes[14]="tif (2.3 MB)";
tif_sizes[15]="tif (2.3 MB)";
tif_sizes[16]="";
tif_sizes[17]="tif (12.1 MB)";
tif_sizes[18]="";
tif_sizes[19]="tif (17.1 MB)";
tif_sizes[20]="tif (5.8 MB)";
tif_sizes[21]="";
tif_sizes[22]="";
tif_sizes[23]="";
tif_sizes[24]="tif (5.5 MB)";
tif_sizes[25]="";
tif_sizes[26]="tif (7.9 MB)";
tif_sizes[27]="";
tif_sizes[28]="";
tif_sizes[29]="";

var image_News = new Array();
image_News[0]="/images/phoenix/Press/Australia2preview.jpg";
image_News[1]="/images/phoenix/Press/AwardCore_Tiano_splash_preview.jpg";
image_News[2]="/images/phoenix/Press/baseballgameinJapanpreview.jpg";
image_News[3]="/images/phoenix/Press/BasketballTeam1preview.jpg";
image_News[4]="/images/phoenix/Press/bicycleteampreview.jpg";
image_News[5]="/images/phoenix/Press/biosPc30_preview.jpg";
image_News[6]="/images/phoenix/Press/Communitywork2preview.jpg";
image_News[7]="/images/phoenix/Press/Cricketpreview.JPG";
image_News[8]="/images/phoenix/Press/DivinginMalysiapreview.jpg";
image_News[9]="/images/phoenix/Press/DrGauravBanga_preview.jpg";
image_News[10]="/images/phoenix/Press/DSC01446_JPG1preview.jpg";
image_News[11]="/images/phoenix/Press/DSC01465_JPG1preview.jpg";
image_News[12]="/images/phoenix/Press/failSafe_login_preview.jpg";
image_News[13]="/images/phoenix/Press/failSafe_map_preview.jpg";
image_News[14]="/images/phoenix/Press/failSafe_more_preview.jpg";
image_News[15]="/images/phoenix/Press/failSafe_protect_preview.jpg";
image_News[16]="/images/phoenix/Press/FamilyBBQpreview.JPG";
image_News[17]="/images/phoenix/Press/hyperspaceCube_preview.jpg";
image_News[18]="/images/phoenix/Press/IMG_2077_jpg1preview.jpg";
image_News[19]="/images/phoenix/Press/Julia_preview.jpg";
image_News[20]="/images/phoenix/Press/LingZhao_preview.jpg";
image_News[21]="/images/phoenix/Press/MalaysiaAngkorWatpreview.jpg";
image_News[22]="/images/phoenix/Press/onthebeachinAustraliapreview.jpg";
image_News[23]="/images/phoenix/Press/RaftinginBalipreview.jpg";
image_News[24]="/images/phoenix/Press/RemoteValidationDebugLab_preview.jpg";
image_News[25]="/images/phoenix/Press/WinetastinginNewZealandpreview.jpg";
image_News[26]="/images/phoenix/Press/WoodyHobbs_preview.jpg";
image_News[27]="";
image_News[28]="";
image_News[29]="";

var image_News1 = new Array();
image_News1[0]="/images/phoenix/Press/mo_010609a_big.jpg";
image_News1[1]="/images/phoenix/Press/mo_010609b_big.jpg";
image_News1[2]="/images/phoenix/Press/mo_010609c_big.jpg";
image_News1[3]="/images/phoenix/Press/mo_010609d_big.jpg";
image_News1[4]="/images/phoenix/Press/mo_010609e_big.jpg";
image_News1[5]="/images/phoenix/Press/mo_010609g_big.jpg";
image_News1[6]="/images/phoenix/Press/mo_010609f_big.jpg";
image_News1[7]="/images/phoenix/Press/Rich_Arnold_NASDAQ_YouTube_010609_big.jpg";
image_News1[8]="/images/phoenix/Press/mo_010609_hires_big.jpg";

function swaphighphotos(index, objImg)
{
    var callerSrc = image_News[index];

    if(document.getElementById('imgholder') != null)
    {
        document.getElementById('imgholder').src = callerSrc;
    }
    if(document.getElementById('lowResLink') != null)
    {
        document.getElementById('lowResLink').href = callerSrc;
    }
    if(document.getElementById('highResLink') != null)
    {
        document.getElementById('highResLink').href = callerSrc;
    }

     swapHighPhotos(index, objImg);
}

function swapHighPhotos(index,objImg)
{
	var callerSrc = objImg.src;
	callerSrc = image_ArrText[index];
	if(document.all){
     		document.getElementById('textHolder').innerText = highReso_ArrText[index];
	} else{
    		document.getElementById('textHolder').textContent = highReso_ArrText[index];
	}

	//document.getElementById('imgHolder').src = callerSrc ;
	document.getElementById('lowResLink').innerText = jpg_sizes[index] ;
	document.getElementById('lowResLink').href = image_ArrText[index];
	document.getElementById('highResLink').innerText = tif_sizes[index] ;
	document.getElementById('highResLink').href = tif_ArrText[index];
}

function swapphotos(index, objImg)
{
    var callerSrc = image_ArrText[index];

    if(document.getElementById('imgHolder') != null)
    {
        document.getElementById('imgHolder').src = callerSrc;
    }
    var callerSrc = objImg.src;
    callerSrc = image_ArrText[index];
    if(document.all)
    {
     	document.getElementById('textHolder').innerText = highReso_ArrText[index];
    } else{
    	      document.getElementById('textHolder').textContent = highReso_ArrText[index];
	  }
}

function swapNewsPhotos(index, objImg)
{
    var callerSrc = image_News1[index];

    if(document.getElementById('imgHolder') != null)
    {
        document.getElementById('imgHolder').src = callerSrc;
    }
    swapHighPhotos2(index, objImg);
}

function swapHighPhotos2(index,objImg)
{
	var callerSrc = objImg.src;
	callerSrc = image_News1[index];
}

function goToDemo(id)
{
     window.open("/videos/" + id + ".swf", "", "width=680,height=400,left=" + ((screen.width - 680) / 2) + ",top=" + ((screen.height - 400) / 2) + ",scrollbars=no,location=no,status=no");
}

var correct = 0; var incorrect=0;
function show(div1,div2)
{
document.getElementById(div1).style.display = 'none';
document.getElementById(div2).style.display = 'block';
} 
function show1(div1,div2)
{	
	if(radio_Validate_TrueFalse())
	{
		
		fnEvaluateScore_TrueFalse();
		document.getElementById(div1).style.display = 'none';
		document.getElementById(div2).style.display = 'block';
	}
}
 
function show2(div1,div2)
{
if(chkbox_Validate())
	{
		fnEvaluateScore_Multiple();
		document.getElementById(div1).style.display = 'none';
		document.getElementById(div2).style.display = 'block';
		document.getElementById('correct').innerHTML = correct;
		document.getElementById('incorrect').innerHTML = incorrect;
		document.getElementById('score').innerHTML = (correct)/(correct+incorrect) * 100 + "%";
	}
 
}
function fnEvaluateScore_TrueFalse()
{
	if(document.getElementById('gp1_1').checked ==true)
	{
	correct++;
	}
	else
	{
	incorrect++;
	}
 
	if(document.getElementById('gp2_1').checked ==true)
	{
	correct++;
	}
	else
	{
	incorrect++;
	}
 
	if(document.getElementById('gp3_1').checked ==true)
	{
	incorrect++;
	}
	else
	{
	correct++;
	}
 
	if(document.getElementById('gp4_1').checked ==true)
	{
	correct++;
	}
	else
	{
	incorrect++;
	}
 
	if(document.getElementById('gp5_1').checked ==true)
	{
	correct++;
	}
	else
	{
	incorrect++;
	}
 
	if(document.getElementById('gp6_1').checked ==true)
	{
	correct++;
	}
	else
	{
	incorrect++;
	}
} 
 
function fnEvaluateScore_Multiple()
{
	if((document.getElementById('chk1_1').checked ==true)||((document.getElementById('chk1_1').checked ==true )&& (document.getElementById('chk1_2').checked ==true )))
	{
	incorrect++;
	}
	else
	{
	correct++;
	}
 
	if((document.getElementById('chk2_1').checked ==true)||((document.getElementById('chk2_1').checked ==true )&& (document.getElementById('chk2_2').checked ==true )))
	{
	incorrect++;
	}
	else
	{
	correct++;
	}
	
	if((document.getElementById('chk3_2').checked ==true)||((document.getElementById('chk3_1').checked ==true )&& (document.getElementById('chk3_2').checked ==true )))
	{
	incorrect++;
	}
	else
	{
	correct++;
	}
	
	if((document.getElementById('chk4_2').checked ==true)||((document.getElementById('chk4_1').checked ==true )&& (document.getElementById('chk4_2').checked ==true )))
	{
	incorrect++;
	}
	else
	{
	correct++;
	}
} 
 
function radio_Validate_TrueFalse()
{
if((document.getElementById('gp1_1').checked ==true || document.getElementById('gp1_2').checked ==true) && (document.getElementById('gp2_1').checked ==true || document.getElementById('gp2_2').checked ==true) &&(document.getElementById('gp3_1').checked ==true || document.getElementById('gp3_2').checked ==true) && (document.getElementById('gp4_1').checked ==true || document.getElementById('gp4_2').checked ==true) && (document.getElementById('gp5_1').checked ==true || document.getElementById('gp5_2').checked ==true) && ( document.getElementById('gp6_1').checked ==true || document.getElementById('gp6_2').checked ==true) )
	{
	
		return true;
	}
	else
	{
	    if(confirm("You have not answered all the questions. Do you want to continue?")) {
			return true;
		} else{
			return false;
		}
	}
}
 
function chkbox_Validate()
{
if((document.getElementById('chk1_1').checked ==true || document.getElementById('chk1_2').checked ==true) && (document.getElementById('chk2_1').checked ==true || document.getElementById('chk2_2').checked ==true) && (document.getElementById('chk3_1').checked ==true || document.getElementById('chk3_2').checked ==true) &&(document.getElementById('chk4_1').checked ==true || document.getElementById('chk4_2').checked ==true))
{
return true;
}
else
	{
	 if(confirm("You have not answered all the questions. Do you want to continue?")) {
			return true;
		} else{
			return false;
		}
	}
}

function pulldown_menu()
{
    var url = document.all.selectname.options[document.all.selectname.selectedIndex].value
    window.location.href = url 
}

function function1()
{
	if(document.all != undefined && document.all != null & document.all.frame1!=null)
		document.all.frame1.allowTransparency = "true";
	if(window.location.href.indexOf("/pages/online-masm-test")>-1)
	{
		loadjscssfile("/theme/stylesheets/masm.css", "css");
	}
}

function loadjscssfile(filename, filetype){
 if (filetype=="js"){ //if filename is a external JavaScript file
  var fileref=document.createElement('script')
  fileref.setAttribute("type","text/javascript")
  fileref.setAttribute("src", filename)
 }
 else if (filetype=="css"){ //if filename is an external CSS file
  var fileref=document.createElement("link")
  fileref.setAttribute("rel", "stylesheet")
  fileref.setAttribute("type", "text/css")
  fileref.setAttribute("href", filename)
 }
 if (typeof fileref!="undefined")
  document.getElementsByTagName("head")[0].appendChild(fileref)
}


  function image1()
 {
    window.location = "/pages/phoenix-securecore-tiano-tm";
 }
 
  function image2()
 {
    window.location = "/pages/phoenix-securecore-tm";

 }
 
  function image3()
 {
	window.location = "/pages/embedded-bios-with-strongframe-technology";

 }
 

function openclosePR(prmThis)
{
	var obj = $(prmThis).parent("div").parent("div").find(".pr_abstract");
    
    var img = $(prmThis).find(".show-hide");

	if(obj.css("display") == 'none')
	{
		obj.show();
		img.attr({"src":"/theme/images/minus.gif"});
	}
	else
	{
		obj.hide();
		img.attr({"src":"/theme/images/plus.gif"});
	}
}

function confirm_esupport() {
	leave_Phoenix=window.open('','','height=150,width=400,location=no,menubar=no,resizable=no,scrollbars=no,toolbar=no,titlebar=no,status=no','false');

	leave_Phoenix.document.write("<B>Please note you are being directed to a third party website that is not owned or controlled by Phoenix Technologies Ltd., and fees may apply  for any BIOS updates provided.</B><P><CENTER><input type='Button' value='Close' onclick='self.close()'></CENTER>") ;

	setTimeout("leave_Phoenix.close()",8000);

	window.open('http://biosagentplus.com/?ref=752');

	leave_Phoenix.focus();

	return false;
}


