
function HelpBoard(spath)
{	
	var txtLayer;
	this.OBJ=null;
	this.ServerPath=spath;
	
	this.Init=function()
	{
	
		if(navigator.appName=="Netscape"){//ä¯ÀÀÆ÷ÀàÐÍÎªNetscape
		
		
		txtLayer='<Layer id="lyHelp" top=150 width=140 left=840>';
		txtLayer+='<table width="140" border="0" cellspacing="0" cellpadding="0">';
		
		txtLayer+='			<tr>';
		txtLayer+='			<td height=35></td>';
		txtLayer+='			</tr>';
		
		txtLayer+='<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_r1.jpg" width="140" height="80"></td>';
		
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
		txtLayer+='			<td height=10></td>';
		txtLayer+='			</tr>';
		
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h1.jpg" width="140" height="37"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h2.jpg" width="140" height="26" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();" ></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><a href="PayingGuide.aspx" target="_blank"><img src="'+this.ServerPath+'pics/t_h3.jpg" width="140" height="29" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();"></a></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><a href="ClaimService.aspx" target="_blank"><img src="'+this.ServerPath+'pics/t_h4.jpg" width="140" height="32" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();"></a></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h5.jpg" width="140" height="17"></td>';
		txtLayer+='			</tr>';
		txtLayer+='		</table>';
		txtLayer+='</Layer>';
		}//if
		else{
		
		txtLayer='<DIV id="lyHelp" style="position:absolute;left:840px;top:150px;z-index:0;visibility:hidden">';
		txtLayer+='<table width="140" border="0" cellspacing="0" cellpadding="0">';
		
		txtLayer+='			<tr>';
		txtLayer+='			<td height=35></td>';
		txtLayer+='			</tr>';
		
		txtLayer+='<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_r1.jpg" width="140" height="80"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
		
		txtLayer+='			<tr>';
		txtLayer+='			<td height=10></td>';
		txtLayer+='			</tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h1.jpg" width="140" height="37"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
		
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h2.jpg" width="140" height="26" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();" onclick="OpenWin(\''+this.ServerPath+'BuyingProcess.aspx\');"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h3.jpg" width="140" height="29" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();" onclick="OpenWin(\''+this.ServerPath+'PayingGuide.aspx\');"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h4.jpg" width="140" height="32" border="0" onMouseOver="MouseOverStyle();" onMouseOut="MouseOutStyle();" onclick="OpenWin(\''+this.ServerPath+'ClaimService.aspx\');"></td>';
		txtLayer+='			</tr>';
		txtLayer+='			<tr>';
						
		txtLayer+='  <td><img src="'+this.ServerPath+'pics/t_h5.jpg" width="140" height="17"></td>';
		txtLayer+='			</tr>';
		txtLayer+='		</table>';
		txtLayer+='</DIV>';
		
		}//else
	
	document.write(txtLayer);
	MM_reloadPage(true);
	}//Init
	
	this.HitMove=function(){
	
	Move();
	
	}//HitMove

}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

/*function Move()
{
	if(navigator.appName=="Netscape"){
	document.lyHelp.top=pageYOffset+150;
	document.lyHelp.left=pageXOffset+window.innerWidth-180;
		setTimeout("Move();",80)
	}
	else{
	lyHelp.style.top=document.body.scrollTop+150;//+document.body.offsetHeight-100;
	lyHelp.style.left=document.body.scrollLeft+document.body.offsetWidth-180;
	if(parseInt(lyHelp.style.top)>700)
	{
		return;
	}
	else{
		setTimeout("Move();",80)
	}
	}
}*/

function Move(){
   var id = 'lyHelp';
    if (document.layers){
        document.layers[''+id+''].left = document.body.scrollLeft+840;
        document.layers[''+id+''].top =document.body.scrollTop+150;
    }
    else if (document.all){
        document.all[''+id+''].style.left=document.body.scrollLeft+840;
        document.all[''+id+''].style.top=document.body.scrollTop+150;
    }
    else if (document.getElementById){
        document.getElementById(''+id+'').style.left=document.body.scrollLeft+840+"px";
        document.getElementById(''+id+'').style.top=document.body.scrollTop+150+"px";
    }
}

function MouseOverStyle()
{
	event.srcElement.style.cursor="hand";
	event.srcElement.style.filter="alpha(opacity=80)";
}
function MouseOutStyle()
{
	event.srcElement.style.filter="alpha(opacity=100)";
}

function OpenWin(pageurl)
{
	window.open(pageurl,'','height=600,width=650,top=60,left=120,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no');
}

