// Java Document
function Isss() {var agent = navigator.userAgent.toLowerCase();this.major = parseInt(navigator.appVersion);this.minor = parseFloat(navigator.appVersion);this.ns = ((agent.indexOf('mozilla') != -1) && (agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1) && (agent.indexOf('opera') == -1) && (agent.indexOf('webtv') == -1));this.ie = (agent.indexOf("msie") != -1);this.ns4 = (this.ns && (this.major ==  4));this.ns6 = (this.ns && (this.major >=  5));this.ie4 = (this.ie && (this.major ==  4) && (agent.indexOf("msie 5.0") != -1));this.ie5 = (this.ie && (this.major >= 4));}
var isss = new Isss();
document.write ("<div align=\"left\" id=\"DatasepstikR\" name=\"DatasepstikR\" style=\"position:absolute; top:-200 left:-200; width:1; height:1; display:none; visibility:visible\"> "
+ "	<table width=\"100%\" height=\"100%\" border=\"0\" align=\"right\" cellspacing=\"0\" cellpadding=\"0\"> "
+ "		<tr> "
+ "			<td align=\"right\" valign=\"top\" width=\"100%\" height=\"100%\" align=\"center\">");
document.write ("			<a href=\"http://www.dietband.com/?ref=diyetsaglik.com\"><img border=\"0\" src=\"http://diyetsaglik.com/images/linkresmi.gif\" width=\"100%\" height=\"100%\"></a>");
document.write ("			</td>"
+ "		</tr> "
+ "	</table><br> "
+ "</div>");
var DatasepSW=820;
var DatasepMO=10;
if(isss.ns){DatasepAW=innerWidth-20;DatasepAH=innerHeight;DatasepAT=document.body.scrollTop;VISIB='show';} else if(isss.ie) {DatasepAW=document.body.clientWidth;DatasepAH=document.body.clientHeight;DatasepAT=document.body.scrollTop;VISIB='visible';}
function DatasepLO(id,width,height,left,top,disp,visib) {if (isss.ie5||isss.ns6){this.obj = document.getElementById(id).style;} else if(isss.ie4) {this.obj = document.all[id].style;} else if(isss.ns4) {this.obj = document.layers[id];}this.obj.width = width;this.obj.height = height;this.obj.left = left;this.obj.top = top;this.obj.display = disp;this.obj.visibility = visib;}
DatasepLO('DatasepstikR',(DatasepAW - DatasepSW),(DatasepAH - DatasepMO),DatasepSW,(DatasepAT + 5),'inline',VISIB);
if(isss.ns) {
	addEventListener("resize", DatasepHPC, false);
	addEventListener("scroll", DatasepHPC, false);
	addEventListener("blur", DatasepHPC, false);
} else if(isss.ie) {
	window.attachEvent ("onresize", DatasepHPC);
	window.attachEvent ("onscroll", DatasepHPC);
	window.attachEvent ("onblur", DatasepHPC);
}
if (DatasepAW > DatasepSW)
{
	setTimeout ("DatasepHPC();", 1);
	document.body.style.background="url('http://diyetsaglik.com/images/alt.gif') left top no-repeat fixed"; 
	DatasepHPC();
}
function DatasepHPC(){
	if(isss.ns){DatasepAW=innerWidth-20;DatasepAH=innerHeight;DatasepAT=document.body.scrollTop;VISIB='show';} else if(isss.ie) {DatasepAW=document.body.clientWidth;DatasepAH=document.body.clientHeight;DatasepAT=document.body.scrollTop;VISIB='visible';}
	if (DatasepAW > DatasepSW){
		DatasepLO('DatasepstikR',(DatasepAW - DatasepSW),(DatasepAH - DatasepMO),DatasepSW,(DatasepAT + 5),'inline',VISIB);
	} else {
		DatasepLO('DatasepstikR',1,1,1,1,'none','hidden');
	}
}  