
var PriceList = new Array(6);
var Pmouse = new Array(6);
Pmouse[0] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Top Banner</strong></td>";
Pmouse[0]+="</tr><tr><td>Size: <b>385px</b> x <b>70px</b></td></tr><tr>"
Pmouse[0]+="<td><strong>Price</strong>: 560USD(one week) - 1095USD(haft month) - 2125USD(one month) - 6245USD(3 months) - 12115USD(6 months) - 23460USD(one year)</td></tr></table>";

Pmouse[1] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Left Logo</strong></td>";
Pmouse[1]+="</tr><tr><td>Size: <b>147px</b> x <b>60px</b></td></tr><tr>"
Pmouse[1]+="<td><strong>Price</strong>: 120USD(one week) - 235USD(haft month) - 455USD(one month) - 1335USD(3 months) - 2595USD(6 months) - 5025USD(one year)</td></tr></table>";

Pmouse[2] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Right Big Logo</strong></td>";
Pmouse[2]+="</tr><tr><td>Size: <b>165px</b> x <b>140px</b></td></tr><tr>"
Pmouse[2]+="<td><strong>Price</strong>: 390USD(one week) - 765USD(haft month) - 1485USD(one month) - 4365USD(3 months) - 8465USD(6 months) - 16395USD(one year)</td></tr></table>";

Pmouse[3] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Right Logo</strong></td>";
Pmouse[3]+="</tr><tr><td>Size: <b>165px</b> x <b>70px</b></td></tr><tr>"
Pmouse[3]+="<td><strong>Price</strong>: 250USD(one week) - 490USD(haft month) - 950USD(one month) - 2795USD(3 months) - 5415USD(6 months) - 10490USD(one yesr)</td></tr></table>";

Pmouse[4] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Heart Banner</strong></td>";
Pmouse[4]+="</tr><tr><td>Size: <b>165px</b> x <b>140px</b></td></tr><tr>"
Pmouse[4]+="<td><strong>Price</strong>: 450USD(one week) - 880USD(haft month)- 1705USD(one month) - 5015USD(3 months) - 9720USD(6 months) - 18825USD(one year)</td></tr></table>";

Pmouse[5] ="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"khunggia\" style=\"margin:3px;padding:3px\"><tr><td>Position: <strong>Strip-ad</strong></td>";
Pmouse[5]+="</tr><tr><td>Size: <b>782px</b> x <b>98px</b></td></tr><tr>"
Pmouse[5]+="<td><strong>Price</strong>: 120USD(one week) - 235USD(haft month) - 455USD(one month) - 1335USD(3 months) - 2595USD(6 months) - 5025USD(one yesr)</td></tr></table>";


function showtip(curent,e)
{
	hidetip();
	var x = e.x;
	var y = e.y;//+document.body.parentNode.scrollTop;
	var wX =  document.body.parentElement.clientWidth;
	var wY = document.body.parentElement.clientHeight;
	if (wX-x<320) x = x-310+document.body.parentNode.scrollLeft; else x = x+10;
	if (wY-y<150) y = y-150+document.body.parentNode.scrollTop; else y =y+10+document.body.parentNode.scrollTop;
	tooltip1.innerHTML=null;	
	if (curent.id=="top") tooltip1.innerHTML = Pmouse[0];
	if (curent.id=="right1") tooltip1.innerHTML = Pmouse[2];
	if (curent.id=="right2") tooltip1.innerHTML = Pmouse[3];
	if (curent.id=="left") tooltip1.innerHTML = Pmouse[1];
	if (curent.id=="bottom") tooltip1.innerHTML = Pmouse[5];
	if ((curent.id=="center0")||(curent.id=="center1")) tooltip1.innerHTML = Pmouse[4];
	tooltip1.style.visibility = "visible";
	tooltip1.style.top = String(y)+ "px";
	tooltip1.style.left = String(x)+ "px";
}
	
function hidetip()
{
	tooltip1.style.visibility = "hidden";
}
// JavaScript Document