/* - */
function index()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="750" height="276" id="klipas" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="index.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write("<param name='wmode' value='transparent'>");
document.write('<embed src="index.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="750" height="276" name="klipas" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}
/* - */
function titulinis()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="swflash.cab#version=6,0,29,0" tppabs="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400" align="top">');
document.write('<param name="movie" value="img/titulinis.swf">');
document.write('<param name="quality" value="high">');
document.write('<embed src="img/titulinis.swf" width="600" height="400" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
}
/* - */
function daile()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="swflash.cab#version=6,0,29,0" tppabs="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="690" height="200">');
document.write('<param name="movie" value="img/daile.swf">');
document.write('<param name="quality" value="high">');
document.write('<embed src="img/daile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="690" height="200"></embed>');
document.write('</object>');
}
/* - */
function muzika()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="swflash.cab#version=6,0,29,0" tppabs="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="690" height="200">');
document.write('<param name="movie" value="img/muzika.swf">');
document.write('<param name="quality" value="high">');
document.write('<embed src="img/muzika.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="690" height="200"></embed>');
document.write('</object>');
}
/* - */
var PNGuin_Transparent_GIF = 'img/blank.gif';

var pngua =  navigator.userAgent.toUpperCase();
if(window.attachEvent && pngua.indexOf('OPERA')==-1 && (pngua.indexOf('MSIE 6') || pngua.indexOf('MSIE 5.5'))){ window.attachEvent("onload", PNGuin); }

function PNGuin()
{
	var el, img, imgs, x, w, h, src, sm;
	for(x=0; x<document.all.length; x++)
	{ // Do background PNGs
		el = document.all[x];
		if(el.className.indexOf('PNGuin')!=-1)
		{
			src = el.currentStyle.backgroundImage;
			src = src.substring(5,src.length-2);
			if(!el.currentStyle.hasLayout)
			{
				if(document.copmpatMode && document.compatMode != 'BackCompat') el.style.height = (el.scrollHeight-parseInt(el.currentStyle.paddingTop)-parseInt(el.currentStyle.paddingBottom))+'px';
				else el.style.height = el.scrollHeight + 'px';
			}
			el.style.backgroundImage='none';
			sm = (el.className.indexOf('PNGuin:Scale')!=-1) ? 'scale' : 'crop';
			el.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"',sizingMethod='"+sm+"')";
		}
	}
	imgs  = document.getElementsByTagName('img');
	for(x=0; x<imgs.length; x++)
	{ // Do IMG PNGs
		img = imgs[x];
		src = img.src;
		if((/\.png$/i).test(src) || (/\.png\?/i).test(src))
		{
			img.width = img.width; img.height = img.height; // Doesn't seem right, does it?
			img.src = PNGuin_Transparent_GIF;
			img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"',sizingMethod='scale')";
		}
	}
}
/*
This script written by Joshua Paine 2005 <http://fairsky.us/contact>
*/
