// JavaScript Document
	window.onload=function(){
		//boyutlandir();
		opacity_ayarla();
		externalLinks();
		document.body.style.overflowX = "hidden";
	}
	
	
	window.onresize=function(){
		//boyutlandir();
	}
	
	
	function opacity_ayarla(){	
		var theRules = new Array();
		if(document.styleSheets[0].cssRules){
			theRules = document.styleSheets[0].cssRules;
		}else if(document.styleSheets[0].rules){
			theRules = document.styleSheets[0].rules;
		}
		for(i=0;i<theRules.length;i++){
			class_name=theRules[i].selectorText;
			class_karsilastirma='#content #main_content #main #frame_div #soru_cevap';
			if(class_name==class_karsilastirma){
				theRules[i].style.filter="alpha(opacity=70)"; 
				theRules[i].style.MozOpacity="0.70";
			}		
		}
	}
	
	
	
	function boyutlandir(){
		if(FIND('content')){
			//yukseklik=FIND('content').offsetHeight;
			h1=document.body.clientHeight;
			h2=window.innerHeight;
			h3=window.pageXOffset;
			h4=document.body.offsetHeight;
			h5=screen.height;
			h6=screen.availHeight;
			h7=document.body.offsetHeight;
			h8=document.documentElement.clientHeight;
			if (parseInt(navigator.appVersion)>3) {
				 if (navigator.appName=="Netscape") {
					  winW = window.innerWidth-16;
					  winH = window.innerHeight-16;
				 }
				 if (navigator.appName.indexOf("Microsoft")!=-1) {
					  winW = document.documentElement.clientWidth-20;
					  winH = document.documentElement.clientHeight-20;
				 }
			}
			//FIND('content').style.Top=boyut;			
		}
	}
	
	
	function FIND(item) {
		if( window.mmIsOpera ) return(document.getElementById(item));
		if (document.all) return(document.all[item]);
		if (document.getElementById) return(document.getElementById(item));
		return(false);
	}
	
	
	
	function div_open(divd){
		document.getElementById(divd).style.display='block';
	}	
	function div_close(divd){
		document.getElementById(divd).style.display='none';
	}	
	