/* **************************************************************** */
/* **************************************************************** */
/* ************************ TAB GÖSTERİM ************************** */
/* **************************************************************** */
/* **************************************************************** */
function Tab(tab){
	if (tab=="Sektorler")
	{
	
		// İçerikler
		$("#SplashModulIcerik-1").show("slow");
		$("#SplashModulIcerik-2").hide("slow");
		$("#SplashModulIcerik-3").hide("slow");
		// Butonlar
		$("#Btn1_a").show();
		$("#Btn2_p").show();
		$("#Btn3_p").show();
		$("#Btn1_p").hide();
		$("#Btn2_a").hide();
		$("#Btn3_a").hide();
		
	
	}else if (tab=="Arama")
	{
	
		// İçerikler
		$("#SplashModulIcerik-1").hide("slow");
		$("#SplashModulIcerik-2").show("slow");
		$("#SplashModulIcerik-3").hide("slow");
		// Butonlar
		$("#Btn1_p").show();
		$("#Btn2_a").show();
		$("#Btn3_p").show();
		$("#Btn1_a").hide();
		$("#Btn2_p").hide();
		$("#Btn3_a").hide();
		
	
	}else{

		// İçerikler
		$("#SplashModulIcerik-1").hide("slow");
		$("#SplashModulIcerik-2").hide("slow");
		$("#SplashModulIcerik-3").show("slow");
		// Butonlar
		$("#Btn1_p").show();
		$("#Btn2_p").show();
		$("#Btn3_a").show();
		$("#Btn3_p").hide();
		$("#Btn1_a").hide();
		$("#Btn2_a").hide();

	}
	return true;
}





/* **************************************************************** */
/* **************************************************************** */
/* *********************** FLASH GÖSTERİM ************************* */
/* **************************************************************** */
/* **************************************************************** */
function flash(w,h,u,t) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'><param name='movie' value='"+u+"'><param name='quality' value='high'>");
		document.write("<param name='wmode' value='transparent'>");
	document.write("<embed src='"+u+"' quality='high' wmode='transparent' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"'></embed></object>");	
}





/* **************************************************************** */
/* **************************************************************** */
/* ************************* PNG GÖSTERİM ************************* */
/* **************************************************************** */
/* **************************************************************** */
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
{
	for(var i=0; i<document.images.length; i++)
	{
		var img = document.images[i]
		var imgName = img.src.toUpperCase()
		if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
		{
			var imgID = (img.id) ? "id='" + img.id + "' " : ""
			var imgClass = (img.className) ? "class='" + img.className + "' " : ""
			var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
			var imgStyle = "display:inline-block;" + img.style.cssText
			var imgAttribs = img.attributes;
			for (var j=0; j<imgAttribs.length; j++)
			{
				var imgAttrib = imgAttribs[j];
				if (imgAttrib.nodeName == "align")
				{
					if (imgAttrib.nodeValue == "left") imgStyle = "float:left;" + imgStyle
					if (imgAttrib.nodeValue == "right") imgStyle = "float:right;" + imgStyle
					break
				}
			}
			var strNewHTML = "<span " + imgID + imgClass + imgTitle
			strNewHTML += " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
			strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
			strNewHTML += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
			img.outerHTML = strNewHTML
			i = i-1
		}
	}
}
window.attachEvent("onload", correctPNG);





/* **************************************************************** */
/* **************************************************************** */
/* *********************** İNPUT TEMİZLEME ************************ */
/* **************************************************************** */
/* **************************************************************** */
function TextTmzl(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = "";
}	
function FillYp(thefield){
if (thefield.value=='')
thefield.value = thefield.defaultValue;
}