//left column
document.write("<DIV style=\"position:absolute;left:0%;top:1%\">");
//download
//document.write("<a href=\"http://www.hastars.com/download\" class=\"ad\"><IMG SRC=\"/flashgame/images/download.gif\" width=100 border=0><\/a><br>");
//-- frank world quiz
document.write("<a href=\"http://www.hastars.com/flashgame/play.asp?g=frank-world-quiz\" class=\"ad\"><IMG SRC=\"http://www.hastars.com/ad/hastars/frank-world-quiz_ad.gif\" border=0><\/a><br>");
//-- haKingkong
document.write("<a href=\"http://www.hastars.com/flashgame/play.asp?g=haInsect\" class=\"ad\"><IMG SRC=\"http://www.hastars.com/ad/hastars/haInsect.gif\" border=0><\/a><br>");
//-- 
//document.write("<a href=\"http://www.hastars.com/job\" target=\"_blank\"><IMG SRC=\"/job/job.gif\" width=100 border=0><\/a>\n");
//-- yahoo ad
document.write("<\/DIV>");
//right column
document.write("<DIV style=\"text-align:right;position:absolute;right:0%;top:1%\">");
 
var shoppingUrl=[];
var shoppingGif=[];
//


//超強３入《小顏計畫》瓜子小臉優惠組
shoppingUrl[0]="http://hastars.pretty99.com/shop_product_detail.jsp?product_id=PI20080304000037&referer=gameR";
shoppingGif[0]="http://www.pretty99.com/product/PI20080304000037/button120x60.gif";
// 	KUSO愚人節‧二件優惠組
shoppingUrl[1]="http://hastars.life99.com/shop_product_detail.jsp?product_id=PI20080318000030&referer=gameR";
shoppingGif[1]="http://www.life99.com/product/PI20080318000030/button120x60.gif";
//08春裝第三件↘49特惠組
shoppingUrl[2]="http://hastars.fashion99.com/shop_product_detail.jsp?product_id=PI20080313000001&referer=gameR";
shoppingGif[2]="http://www.fashion99.com/product/PI20080313000001/button120x60.gif";
//超強２入《輕體計畫》窈窕下半身優惠組
shoppingUrl[3]="http://hastars.pretty99.com/shop_product_detail.jsp?product_id=PI20080304000038&referer=gameR";
shoppingGif[3]="http://www.pretty99.com/product/PI20080304000038/button120x60.gif";
//第三件38元活動
shoppingUrl[4]="http://hastars.pretty99.com/shop_product_detail.jsp?product_id=PI20080305000001&referer=gameR";
shoppingGif[4]="http://www.pretty99.com/product/PI20080305000001/button120x60.gif";

var shoppingN=Math.floor(Math.random()*shoppingUrl.length);
document.write("<a target=\"_blank\" href=\""+shoppingUrl[shoppingN]+"\"><img border=\"0\" src=\""+shoppingGif[shoppingN]+"\"></a><br><br>");
//document.write("<img id=\"wmr1\" style='cursor:hand;margin:2px 2px;' onClick='window.open(this.target);'>");
document.write("<div id=\"wmr1\" width=\"100\" height=\"300\"></div>");
document.write("<" + "script language='JavaScript' type='text/javascript' src='");
document.write("http://www.hastars.com/ad/getAd.asp?sBoardID=wmr1");
document.write("'><" + "/script><br>");
//document.write("<a href=\"http://www.hastars.com/contact/product.html\" target=\"_blank\" class=\"ad\"><IMG SRC=\"/flashgame/images/ad_case.gif\" width=100 border=0><\/a>");
document.write("<\/DIV>");
	
