var isIE6 = false /*@cc_on || @_jscript_version < 5.7 @*/;
var kont2=1;
var kont=0;

	 function duzelt(){
	 if(kont==1){
	 document.getElementById('wrap').style.backgroundColor='#FFFFFE'; 
	 document.getElementById('wrap').style.backgroundRepeat='repeat-y';
	 document.getElementById('wrap').style.backgroundImage='url(http://engindeniz.net/v3.0/wp-content/themes/guzel/images/content-bg.gif)';
	 kont=0;
	 } 
	 else {
	 document.getElementById('wrap').style.backgroundColor='transparent'; 
	 document.getElementById('wrap').style.backgroundImage='url(http://engindeniz.net/v3.0/wp-content/themes/guzel/images/test2.png)';
	 document.getElementById('wrap').style.backgroundRepeat='repeat-y';
	 kont=1;
 if(isIE6==true){
 /*
var externalFile = document.createElement("script");
externalFile.setAttribute("src", "unitpngfix.js");
externalFile.setAttribute("type", "text/javascript");
document.getElementsByTagName("head")[0].appendChild(externalFile); 
*/
pngfix();

    }
	 }
	 }

var clear="http://engindeniz.net/v3.0/images/clear.gif"; //path to clear.gif

pngfix=function(){var els=document.getElementsByTagName('*');
var ip=/\.png/i;
var i=els.length;while(i-- >0){var el=els[i];
var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;
es.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(ip)){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';
var elkids=el.getElementsByTagName('*');
if (elkids){var j=elkids.length;
if(el.currentStyle.position!="absolute")es.position='static';
while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}}}
//window.attachEvent('onload',pngfix);


function yaz1(){
document.getElementById('flash').innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="test" align="middle">	<param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" />	<param name="movie" value="http://engindeniz.net/v3.0/test.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />	<embed src="http://engindeniz.net/v3.0/test.swf" quality="high" scale="noscale" salign="lt" wmode="transparent" bgcolor="#ffffff" width="100%" height="100%" name="test" align="top" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
}

function durdur() {
 if(kont2==1){
var yukseklik 	= document.getElementById('wrap').clientHeight;
var anahtar=(yukseklik+100)+'px';
document.getElementById('flash').style.height=anahtar;
yaz1();
kont2=0; 
} else {
//document.getElementById('flash').style.visibility="hidden";
document.getElementById('flash').innerHTML="";
kont2=1;
}

}