 var a=new Array(7);
 a[1]=new Image;
 a[1].src="images/menu1hl.jpg";
 a[2]=new Image;
 a[2].src="images/menu2hl.jpg";
 a[3]=new Image;
 a[3].src="images/menu3hl.jpg";
 a[4]=new Image;
 a[4].src="images/menu4hl.jpg";
 a[5]=new Image;
 a[5].src="images/menu5hl.jpg";
 a[6]=new Image;
 a[6].src="images/menu6hl.jpg";
 
function ImgOver(img) {
	document.images["menuimg"+img].src=a[img].src; 
 }  
 
function ImgOut(img) {
	document.images["menuimg"+img].src="images/menu"+img+".jpg"; 
 }
 
function OpenArticle(ArtNum) {
winwd=520;
winhg=540;
	newWindow=window.open("article.php?artid="+ArtNum,"new","HEIGHT="+winhg+" WIDTH="+winwd+" TOP="+Math.round(window.screen.availheight/2-winhg/2)+" LEFT="+Math.round(window.screen.availWidth/2-winwd/2)+" SCROLLBARS=yes RESIZABLE=yes");
	newWindow.focus();
};

function OpenPRArticle(ArtNum) {
winwd=520;
winhg=540;
	newWindow=window.open("prarticle.php?artid="+ArtNum,"new","HEIGHT="+winhg+" WIDTH="+winwd+" TOP="+Math.round(window.screen.availheight/2-winhg/2)+" LEFT="+Math.round(window.screen.availWidth/2-winwd/2)+" SCROLLBARS=yes RESIZABLE=yes");
	newWindow.focus();
};

function OpenNewWindow(src) {
winwd=520;
winhg=540;
	newWindow=window.open(src,"new","HEIGHT="+winhg+" WIDTH="+winwd+" TOP="+Math.round(window.screen.availheight/2-winhg/2)+" LEFT="+Math.round(window.screen.availWidth/2-winwd/2)+" SCROLLBARS=yes RESIZABLE=yes");
	newWindow.focus();
};

function OpenCountry(CntNum,div) {
winwd=520;
winhg=540;
	newWindow=window.open("cntarticle.php?cntid="+CntNum+"&div="+div+";","new","HEIGHT="+winhg+" WIDTH="+winwd+" TOP="+Math.round(window.screen.availheight/2-winhg/2)+" LEFT="+Math.round(window.screen.availWidth/2-winwd/2)+" SCROLLBARS=yes RESIZABLE=yes");
	newWindow.focus();
};

function OpenImage(imagename){
	var img=new Image();
	img.hspace=0;
	img.vspace=0;
	img.src=imagename;
	newWindow=window.open("","new","WIDTH=320 TOP="+(Math.round(window.screen.availheight/2)-150)+" LEFT="+(Math.round(window.screen.availWidth/2)-160)+" HEIGHT=300");
	newWindow.document.write('<html>');
	newWindow.document.write('<head>');
	newWindow.document.write('<title>AWAY.RU</title>');
	newWindow.document.write('</head>');
	newWindow.document.write('<body bottommargin="0" topmargin="0" rightmargin="0" leftmargin="0" bgcolor="#656161">');
	newWindow.document.write('<table width="320" height="300" align="center" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle" height="280"><a href onClick="self.close()" ><img width="300" height="250" src="'+img.src+'" alt="Click to close" name="im" id="im" hspace="0" vspace="0" border="1" style="cursor: hand;"></a></td></tr><tr><td align="center" height="20" bgcolor="#E4A919" background="images/offers.gif" style="color: White; font-family: Tahoma, Verdana; font-size: 8pt;">Vincent Technologies &copy; 2003</td></tr></table>');
	newWindow.focus();
};

function OpenMap(imagename){
	var img=new Image();
	img.hspace=0;
	img.vspace=0;
	img.src=imagename;
	newWindow=window.open("","new","WIDTH=222 TOP="+(Math.round(window.screen.availheight/2)-125)+" LEFT="+(Math.round(window.screen.availWidth/2)-110)+" HEIGHT=252");
	newWindow.document.write('<html>');
	newWindow.document.write('<head>');
	newWindow.document.write('<title>Picture</title>');
	newWindow.document.write('</head>');
	newWindow.document.write('<body bottommargin="0" topmargin="0" rightmargin="0" leftmargin="0" bgcolor="#656161">');
	newWindow.document.write('<table width="200" height="200" align="center" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><a href onClick="self.close()" ><img src="'+img.src+'" width="200" height="200" alt="Click to close" name="im" id="im" hspace="0" vspace="0" border="1"  style="cursor: hand;"></a></td></tr><tr><td align="center" height="20" bgcolor="#E4A919" background="images/offers.gif" style="color: White; font-family: Tahoma, Verdana; font-size: 8pt;">Vincent Technologies &copy; 2003</td></tr></table>');
	newWindow.focus();
};




