






	
		
	
	
	


		
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=20002" target="_blank">Sign Up</a>';
 
  
  return  strStatusOut;
}
function getA(){
  return "31bb91d47e776746de2d6c51204d8058b70609e7323708ba4b878226de59cb2835ad6933cd83e4e8416634cf967cbe22";
}

var loginAffiliate = "20002";


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){
		
	}
}