function Help(url)
	{
		myWin	= window.open(url, "_", "scrollbars=yes,resizable=yes,toolbar=no,width=400,height=420");
		myWin.focus();
	}

function NewWindow(url,w,h)
	{
		myWin	= window.open(url, "_", "scrollbars=yes,resizable=yes,toolbar=no,width="+w+",height="+h);
		myWin.focus();
	}

function openWindow(url,width,height)
	{
		winStats	= 'toolbar=no,location=no,directories=no,menubar=no,';
		winStats	+= 'scrollbars=no,width='+width+',height='+height+',resizable=yes';
		if (navigator.appName.indexOf("Microsoft")>=0)
			{ winStats	+= ',left=10,top=25'; }
		else
			{ winStats+=',screenX=10,screenY=25'; }
		floater	= window.open(url,"",winStats);
	}

function chooseRadio(form)
	{ form.checked = true; }

function eStore(code, currency)
	{
		if (code == 'mls')
			{ return "http://www.mls.gr/gr/1024/prods.asp?cat_id=5&productid=89"; }
		else
			{ return "http://www.systransoft.com/t.cgi?id=SYSTRAN&link=eStore&version="+code+"&currency="+currency; }
	}

function systranLINKS(lp, url)
	{
		var sl	= '';
		if (lp != "")
			{ sl = 'http://w4.systranlinks.com/trans?systran_lp='+lp+'&systran_url='+url; }
		else
			{ sl=url; }
		window.open(sl, '_self');
	}

function AdImg()
	{
		var img = new Array("new40.gif","new40-personal.gif","new40-cjk.gif","new40-standard.gif","new40-premium.gif");
		var nb = Math.floor(Math.random()*img.length);
		document.write('<img border="0" src="http://www.systransoft.com/Img/'+img[nb]+'"/>');
	}

function Lycos()
	{
		document.write('<a href="http://www.digitalriver.com/dr/v2/ec_MAIN.Entry10?V1=641957&PN=2&SP=10023&xid=28102&cid=184319">');
		document.write('<img border="0" width="191" height="191" src="http://www.systransoft.com/Img/WT-20040304.jpg"/></a>');
		// 2.9.05 Lines above added to put in Lycos specific CID, Promo(); line below commented out
		//Promo();
		//document.write('<a href="http://www.systransoft.com/t.cgi?id=lycosholiday2003&l=products">');
		//        var img = new Array("blue", "yellow", "green");
		//        var nb = Math.floor(Math.random()*img.length);
		//document.write('<img border="0" width="200" height="200" src="http://www.systransoft.com/Img/promo/promo-lycos-20031215-'+img[nb]+'.jpg"/>');
		//document.write('</a>');
	}

function Promo()
	{
		//document.write('<a href="http://www.systransoft.com/Products/">');
		document.write('<a href="http://www.digitalriver.com/dr/v2/ec_MAIN.Entry10?V1=641957&PN=2&SP=10023&xid=28102">');
		//document.write('<a href="http://www.systransoft.com/t.cgi?id=hpmspring2004&l=products">');
		//AdImg();
		//        var img = new Array("blue", "yellow", "pink");
		//        var nb = Math.floor(Math.random()*img.length);
		//document.write('<img border="0" width="200" height="200" src="http://www.systransoft.com/Img/promo/promo-valentine-20040209-'+img[nb]+'.jpg"/>');
		document.write('<img border="0" width="191" height="191" src="http://www.systransoft.com/Img/WT-20040304.jpg"/></a>');
		//document.write('<img border="0" width="200" height="200" src="http://www.systransoft.com/Img/promo-spring-20040322-blue.jpg"/></a>');
		//document.write('</a>');
	}

function LycosEurope(id)
	{
		if (id == 'LycosEuropeFR')
			{ //document.write('<a href="http://systran.telechargement.fr/index.html?affil=127&snf=97"><img width="160" height="193" border="0" src="http://www.systransoft.com/Img/webtranslator-small.jpg"></a>');
				document.write('<a href="http://systran.telechargement.fr/index.html?affil=127&snf=97"><img border="0" src="http://www.systran.fr/images/SBoxPersonal.Lycos.gif"></a>');
			}
		else
			{
				document.write('<a href="http://www.systransoft.com/t.cgi?id='+id+'&l='+id+'">');
				//	var img = new Array("blue", "green", "red", "yellow");
				//	var nb = Math.floor(Math.random()*img.length);
				// document.write('<img width="160" height="160" border="0" src="http://www.systransoft.com/Img/Lycos/v4-20030910-'+img[nb]+'.jpg" style="margin-right: 10px;"/>');
				document.write('<img width="120" height="90" border="0" src="http://www.systransoft.com/Img/Lycos/120x90_new_all-v5.gif" style="margin-right: 10px;"/>');
				document.write('</a>');
			}
	}

function AOL()
	{
		document.write('<a href="http://www.systransoft.com/t.cgi/aol;products">');
		var img = new Array("new40.gif","new40-personal.gif","new40-cjk.gif","new40-standard.gif","new40-premium.gif");
		var nb = Math.floor(Math.random()*img.length);
		document.write('<img border="0" width="100" height="100" src="http://www.systransoft.com/Img/'+img[nb]+'"/>');
		document.write('</a>');
	}

function Scansoft(i)
	{
		var img;
		if (i == 1)
			{ img = new Array("personal-red.gif","personal-yellow.gif"); }
		else
			{
				if (i == 2)
					{ img = new Array("standard-blue.gif","standard-yellow.gif"); }
				else
					{
						if (i == 3)
							{ img = new Array("premium-green.gif","premium-yellow.gif"); }
						else
							{ img = new Array("personal-red.gif","premium-green.gif","standard-blue.gif"); }
					}
			}
		var nb = Math.floor(Math.random()*img.length);
		document.write('<img border="0" src="http://www.systransoft.com/Img/Scansoft/'+img[nb]+'">');
	}
