document.write('<script src="http://www.orelis.lt/Uploads/Weather/Script/code.js" type="text/javascript"></script>');

function showWeather() {

	getCode('www.yris.lt');
	
	document.write('<div style="width:120px;padding:1px;border:1px solid #F5F5F5;">');
	if (kodas == 'false') {
		document.write('<div style="padding:5px 5px 5px 5px;font-family:Arial;font-size:8px;text-align:center;color:#000000;"><strong>Neregistruotas projektas</strong><br /><br />J&#363;s&#371; svetain&#279;s adresas, turi sutapti su u&#382;registruoto projekto adresu.</div>');
	} else {
				document.write('<a href="http://www.orelis.lt/orai/kaunas" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/kaunas.png" width="120" height="22" border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/vilnius" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/vilnius.png" width="120" height="22" border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/klaipeda" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/klaipeda.png" width="120" height="22" border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/marijampole" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/marijampole.png" width="120" height="22" border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/panevezys" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/panevezys.png" width="120" height="22"border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/siauliai" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/siauliai.png" width="120" height="22" border="0" /></a><br />');
				document.write('<a href="http://www.orelis.lt/orai/alytus" target="_blank"><img src="http://www.orelis.lt/Uploads/Weather/Current/'+kodas+'/alytus.png" width="120" height="22" border="0" /></a><br />');
			}
	
	document.write('<div style="margin-top:5px;padding:3px;background-color:#0080FF;font-family:Arial;font-size:11px;text-align:center;">');
	
	document.write('</div></div>');

}
