var clear="/_img/pix.gif";
pngfix=function(){var els=document.getElementsByTagName('*');for(i=0;i<els.length;i++){var el=els[i];var es=el.style;if(el.src&&el.src.match(/\.png/i)&&es.filter==''){el.height=el.height;el.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(/\.png/i)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage="none";}}if(el.currentStyle.position!='absolute'&&!es.filter&&!el.tagName.match(/(body|html|script)/gi))es.position="relative";if(es.filter&&el.currentStyle.position=="relative")es.position="static";}}

if(document.all && getBrowserInfo().type=='IE' && getBrowserInfo().version=='6') {
	window.attachEvent('onload', pngfix);
}

function getBrowserInfo() {
 	var t,v = undefined;
 	if (window.opera) t = 'Opera';
 	else if (document.all) {
  		t = 'IE';
  		var nv = navigator.appVersion;
  		var s = nv.indexOf('MSIE')+5;
  		v = nv.substring(s,s+1);
 	}
 	else if (navigator.appName) t = 'Netscape';
 	return {type:t,version:v};
}

function flash(version, filename, name, width, height, wmode, bgcolor, menu, flashvars) {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+version+"' width='"+width+"' height='"+height+"' id='"+name+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='wmode' value='"+wmode+"' />");
	document.write("<!-- Flash FIX v0.2 | www.mega.by -->");
	document.write("<param name='bgcolor' value='"+bgcolor+"' />");
	document.write("<param name='salign' value='cc' />");
	document.write("<param name='movie' value='"+filename+"' />");
	document.write("<param name='menu' value='"+menu+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='flashvars' value='"+flashvars+"' />");
	document.write("<embed src='"+filename+"' wmode='"+wmode+"' menu='"+menu+"' quality='high' flashvars='"+flashvars+"' salign='lt' width='"+width+"' height='"+height+"' bgcolor='"+bgcolor+"' name='"+name+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

function email(name, domain, tld, text, subject) {
	if(subject) {
	} else {
		subject='FROM EASTEUROPE-BUSINESS.DE';
	}
	if(text) {
		if(subject) {
			document.write('<a href="mailto:'+name+'@'+domain+'.'+tld+'?Subject='+subject+'">'+text+'</a>');
		} else {
		}
	} else {
		document.write('<a href="mailto:'+name+'@'+domain+'.'+tld+'?Subject='+subject+'">'+name+'@'+domain+'.'+tld+'</a>');
	}
}