var sagresimlink	= new Array();
var sagresimurl		= new Array();
var solresimlink	= new Array();
var solresimurl		= new Array();
var x,decision;
var sHtml;
sHtml	= '';
decision= true;
////////////////////////////////////////
sagresimurl[1]		= 'http://www3.haberturk.com/htreklam/star/sag/EF-514SP-1A.jpg';
sagresimurl[2]		= 'http://www3.haberturk.com/htreklam/star/sag/AW-80D-1A.jpg';
sagresimurl[3]		= 'http://www3.haberturk.com/htreklam/star/sag/LTP-2037-1.jpg';
sagresimurl[4]		= 'http://www3.haberturk.com/htreklam/star/sag/EFA-119BK-1A.jpg';
sagresimurl[5]		= 'http://www3.haberturk.com/htreklam/star/sag/DZ1026.jpg';
sagresimurl[6]		= 'http://www3.haberturk.com/htreklam/star/sag/DZ4081.jpg';
sagresimurl[7]		= 'http://www3.haberturk.com/htreklam/star/sag/NY3714.jpg';
sagresimurl[8]		= 'http://www3.haberturk.com/htreklam/star/sag/DGR5060.jpg';


sagresimlink[1]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=16334';
sagresimlink[2]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=2228';
sagresimlink[3]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=40';
sagresimlink[4]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=12932';
sagresimlink[5]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=11497';
sagresimlink[6]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=11541';
sagresimlink[7]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=11491';
sagresimlink[8]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=18236';



solresimurl[1]		= 'http://www3.haberturk.com/htreklam/star/sol/DGR5087.jpg';
solresimurl[2]		= 'http://www3.haberturk.com/htreklam/star/sol/DGR5090.jpg';
solresimurl[3]		= 'http://www3.haberturk.com/htreklam/star/sol/ES1T3B2N5755A78.jpg';
solresimurl[4]		= 'http://www3.haberturk.com/htreklam/star/sol/1400C33.jpg';
solresimurl[5]		= 'http://www3.haberturk.com/htreklam/star/sol/RL5007HM_B.jpg';
solresimurl[6]		= 'http://www3.haberturk.com/htreklam/star/sol/TH1790472.jpg';
solresimurl[7]		= 'http://www3.haberturk.com/htreklam/star/sol/YCS410GX.jpg';
solresimurl[8]		= 'http://www3.haberturk.com/htreklam/star/sol/10568L1.jpg';



solresimlink[1]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=18582';
solresimlink[2]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=18585';
solresimlink[3]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=12429';
solresimlink[4]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=11946';
solresimlink[5]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=14768';
solresimlink[6]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=11077';
solresimlink[7]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=756';
solresimlink[8]		= 'http://www.alisverissaati.com/turkce/urundetay.asp?refcode=haberturk&urunid=16342';


////////////////////////////////////////

while (decision)
	{

		x = (Math.floor(Math.random()*11));
		
		if ((x>0) && (x<9))
			{
							
				sHtml	= sHtml + "<html>";
				sHtml	= sHtml + '<table width=\"75\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">';
				sHtml	= sHtml + '<tr>';
				sHtml	= sHtml + '<td bgcolor=\"#FFFFFF\"><a target="_blank" href=\"#solIMGLINK#\"><img src=\"#solIMGSRC#\" border=\"0\" width=\"111\" height=\"130\"></a></td>';
				sHtml	= sHtml + '<td bgcolor=\"#FFFFFF\"><a target="_blank" href=\"#sagIMGLINK#\"><img src=\"#sagIMGSRC#\" width=\"113\" border=\"0\" height=\"130\"></a></td>';
				sHtml	= sHtml + '</tr>';
				sHtml	= sHtml + '</table>';
				sHtml	= sHtml.replace('#solIMGLINK#',solresimlink[x]);
				sHtml	= sHtml.replace('#solIMGSRC#',solresimurl[x]);
				sHtml	= sHtml.replace('#sagIMGLINK#',sagresimlink[x]);
				sHtml	= sHtml.replace('#sagIMGSRC#',sagresimurl[x]);
				
				document.write (sHtml);
				
				
				decision=false;
				
				
			}

	}









