 function swapLayers(id,toplam){

  for( i=0;i<toplam;i++ ){
   eval("spot"+i+".style.display='none'");
   eval("resim"+i+".style.display='none'");
  }
 
  eval("spot"+id+".style.display=''");
  eval("resim"+id+".style.display=''");

 }
 
function HABER3_goTo( url ) {
	window.location.href = url;
}


function HABER3_navBar( tableCellRef, hoverFlag, navStyle,renk ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#336699';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = renk ;
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function validate(theForm)
	{
		if (theForm.sites[0].checked)
		{
		 theForm.action = "arama.haber3?catx=arama";
		} else
		{
			theForm.action = "google.haber3";
		}
			
			 
	}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function openWin( windowURL, windowName, windowFeatures ) { 
  window.open( windowURL, windowName, windowFeatures ) ; 
 } 

