






	
		
	
	
	


		
var accountStatusMenuslidetimer = null;
function accountStatusTableBuild()
{

 strStatusOut = '';

 strStatusOut += '<a href="javascript:openLoginWarp();" >Sign In</a> | <a href="http://pages.tvunetworks.com/accounts/viewRegister_ssb.do?aff=" target="_blank">Sign Up</a>';
 
  
  return  strStatusOut;
}
function getA(){
  return "c140b9f9b2d40174ca8f98452901d484d69a00bc9c74130dcfe9f27dfaf1251216edf35403b71fdd9f9ac521a2a51650";
}

var loginAffiliate = "";


function hideSignOutMenu(){
	accountStatusMenuslidetimer = setTimeout("showHideSignOutMenuLayers('hide')",500);
}
function showHideSignOutMenuLayers(v) { 
	
	obj = document.getElementById("sign_out_menu");
	spanObj = document.getElementById("account_status_tb");
	if(spanObj==null || spanObj=="undefined")
	   return;
	sm_left =getLeft(spanObj);
	sm_top = getTop(spanObj) + spanObj.offsetHeight;
    if (obj.style) {
	 obj=obj.style;
	 v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
	}
	obj.left = sm_left + 'px';
	obj.top = sm_top + 'px';	
    obj.visibility=v; 

}


//get y coordinate
function getTop(e){
      var offset=e.offsetTop;
      if(e.offsetParent!=null) offset+=getTop(e.offsetParent);
      return offset;
}

//get x coordinate
function getLeft(e){
      var offset=e.offsetLeft;
      if(e.offsetParent!=null) offset+=getLeft(e.offsetParent);
      return offset;
}


function openLoginWarp(){
	try{
	  openLogin();
	}catch(e){
		
	}
}