/// FORUM JSs
//Function show and hide column boxes
function showhide(id, imgPath) {

	var objContent = document.getElementById(id);
	var objImage = document.getElementById(id + '_image');

	if (document.getElementById(id).style.display == "") {
		objContent.style.display = "none";
		objImage.src = imgPath + "Scroll_Float_BOX_Button_Max.gif";

		SaveCookie(id, 'Hide');
	} else {
		objContent.style.display = "";
		objImage.src = imgPath + "Scroll_Float_BOX_Button_Min.gif";

		SaveCookie(id, 'Show');
	}
}

function showhideBig(id, imgPath) {

	var objBox = document.getElementById(id + '_full');
	var objContent = document.getElementById(id);
	var objImage = document.getElementById(id + '_image');

	if (document.getElementById(id).style.display == "") {
		objContent.style.display = "none";
		objImage.src = imgPath + "collapse_tcat_collapsed.gif";
		objBox.style.filter = "gray()";

		SaveCookie(id, 'Hide');
	} else {
		objContent.style.display = "";
		objImage.src = imgPath + "collapse_tcat.gif";
		objBox.style.filter = "";

		SaveCookie(id, 'Show');
	}
}

function showhideLittle(id, imgPath) {

	var objBox = document.getElementById(id + '_full');
	var objContent = document.getElementById(id);
	var objImage = document.getElementById(id + '_image');

	if (document.getElementById(id).style.display == "") {
		objContent.style.display = "none";
		objImage.src = imgPath + "collapse_thead_collapsed.gif";
		objBox.style.filter = "gray()";

		SaveCookie(id, 'Hide');
	} else {
		objContent.style.display = "";
		objImage.src = imgPath + "collapse_thead.gif";
		objBox.style.filter = "";

		SaveCookie(id, 'Show');
	}
}

//Function save cookie
function SaveCookie(name, value)
{
	var expiry = new Date();
	expiry.setTime (expiry.getTime() + (24 * 60 * 60 * 1000*365));
	document.cookie=name + "=" + escape(value) + "; expires=" + expiry;
}








function yeni_nesne(){
	var nesneyarat;
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5) try { nesneyarat = new ActiveXObject("Msxml2.XMLHTTP"); }
	catch (e) {
		try { nesneyarat = new ActiveXObject("Microsoft.XMLHTTP"); }
		catch (E) { nesneyarat = false; }
	}@end @*/
	if (!nesneyarat && typeof XMLHttpRequest!='undefined') {
	 try {
	  nesneyarat= new XMLHttpRequest();
	 } catch (e) {
	  nesneyarat=false;
	 }
	}
	return nesneyarat;
}




// ------------------
// ------------------
// ------------------ DHTML MENU START
// ------------------
// ------------------
function DropMenu(oName)
	{
	this.oName=oName;
	this.arrMenus=[];	
	this.showMenu=showMenu;
	this.showMenu2=showMenu2;
	this.hideMenuAll=hideMenuAll;
	this.renderType;
	this.renderHorizontal=renderHorizontal;
	this.renderVertical=renderVertical;
	this.mouseOut=mouseOut;
	this.mouseOver=mouseOver;
	}
	
function renderHorizontal()
	{
	this.renderType="horizontal";
	document.write("<table align='"+this.align+"' cellpadding=0 cellspacing=0 style='border-collapse:collapse;' width='"+this.Tblwidth+"'><tr>");
	for(var i=0;i<this.arrMenus.length;i++)
		{
		//render top menu
		if(this.arrMenus[i][1]=="0")
			{
			document.write("<td style='border:"+this.styleBorder+";'>");
			
			var linkId="sc_link_"+this.oName+this.arrMenus[i][0];
			document.write("<table height='"+this.height+"' width='"+this.width+"' border=0 cellpadding=0 cellspacing=0><tr><td id=\"divLabel"+this.oName+this.arrMenus[i][0]+"\" style='text-align: center;background:"+this.styleBg+";background-image:url("+this.styleBgImg+");cursor:pointer;padding-left:"+this.stylePaddingLeft+";padding-right:"+this.stylePaddingRight+";padding-top:"+this.stylePaddingTop+";padding-bottom:"+this.stylePaddingBottom+";font-family:"+this.styleFontFamily+";font-weight:"+this.styleFontWeight+";font-size:"+this.styleFontSize+";color:"+this.styleColor+";' onclick=\"openLink('"+linkId+"')\" onmouseout=\""+this.oName+".mouseOut(this.id,'no');this.style.backgroundImage='url("+this.styleBgImg+")'\" onmouseover=\""+this.oName+".mouseOver(this.id,'no');this.style.backgroundImage='url("+this.styleBgImgOver+")';return !"+this.oName+".showMenu(this,'divMenu"+this.oName+this.arrMenus[i][0]+"',event)\" nowrap>");
			document.write(this.arrMenus[i][2]);			
			document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[i][3]+"\"></a>")
			document.write("</td></tr></table>");
			
			//~~~~~~~~~~~~~~
			var nParent=this.arrMenus[i][0];
			
			document.write("<span id='divMenu"+this.oName+nParent+"' style='visibility:hidden;position:absolute;' onmouseover='event.cancelBubble=true;'>");
			document.write("<table style='border:"+this.SubstyleBigBorder+";' height='"+this.Subheight+"' width='"+this.Subwidth+"' cellpadding=0 cellspacing=0>");
			var nmCount=0;
			for(var j=0;j<this.arrMenus.length;j++)
				{				
				if(this.arrMenus[j][1]==nParent)
					{
					var sAlign="";if(this.Subalign=="left")sAlign="align=left";
					var sTopBorder="";if(nmCount>0)sTopBorder="border-top:none;";nmCount++;
					var linkId="sc_link_"+this.oName+this.arrMenus[j][0];
					document.write("<tr><td "+sAlign+" nowrap id=\"divLabel"+this.oName+this.arrMenus[j][0]+"\" style='background:"+this.SubstyleBg+";border:"+this.SubstyleBorder+";"+sTopBorder+"cursor:pointer;padding-left:"+this.SubstylePaddingLeft+";padding-right:"+this.SubstylePaddingRight+";padding-top:"+this.SubstylePaddingTop+";padding-bottom:"+this.SubstylePaddingBottom+";font-family:"+this.SubstyleFontFamily+";font-weight:"+this.SubstyleFontWeight+";font-size:"+this.SubstyleFontSize+";color:"+this.SubstyleColor+";' onclick=\"openLink('"+linkId+"')\" onmouseout=\""+this.oName+".mouseOut(this.id,'yes');\" onmouseover=\""+this.oName+".mouseOver(this.id,'yes');this.style.backgroundImage='url("+this.SubstyleBgImgOver+")';return !"+this.oName+".showMenu2('divMenu"+this.oName+nParent+"',this,'divMenu"+this.oName+this.arrMenus[j][0]+"',event)\">");				
					document.write(this.arrMenus[j][2]);					
					document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[j][3]+"\"></a>")

					
					//~~~~~~~~~~~~~~
					var nParent2=this.arrMenus[j][0];
					
					document.write("<span id='divMenu"+this.oName+nParent2+"' style='visibility:hidden;position:absolute;' onmouseover='event.cancelBubble=true;'>");
					document.write("<table cellpadding=0 cellspacing=0>");
					for(var k=0;k<this.arrMenus.length;k++)
						{
						if(this.arrMenus[k][1]==nParent2)
							{
							var sAlign="";
							if(this.align=="left")sAlign="align=left";
							var linkId="sc_link_"+this.oName+this.arrMenus[k][0];
							document.write("<tr><td "+sAlign+" nowrap id=\"divLabel"+this.oName+this.arrMenus[k][0]+"\" style='background:"+this.SubstyleBg+";border:"+this.SubstyleBorder+";cursor:pointer;padding-left:"+this.SubstylePaddingLeft+";padding-right:"+this.SubstylePaddingRight+";padding-top:"+this.SubstylePaddingTop+";padding-bottom:"+this.SubstylePaddingBottom+";font-family:"+this.SubstyleFontFamily+";font-weight:"+this.SubstyleFontWeight+";font-size:"+this.SubstyleFontSize+";color:"+this.SubstyleColor+";' onclick=\"openLink('"+linkId+"');event.cancelBubble=true;\" onmouseout=\""+this.oName+".mouseOut(this.id,'yes');\" onmouseover=\""+this.oName+".mouseOver(this.id,'yes');\" >");
							document.write(this.arrMenus[k][2]);							
							document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[k][3]+"\"></a>")
							document.write("</td></tr>");
							}			
						}
					document.write("</table>")
					document.write("</span>");
					//~~~~~~~~~~~~~~					
					
					document.write("</td></tr>");		
					}			
				}
			document.write("</table>");				
			document.write("</span>");
			//~~~~~~~~~~~~~~
				
			document.write("</td>");
			}
		}
	document.write("</tr></table>");
	}

function renderVertical()
	{
	this.renderType="vertical";
	document.write("<table align='"+this.align+"' cellpadding=0 cellspacing=0 style='border-collapse:collapse;' width='"+this.Tblwidth+"'>");
	for(var i=0;i<this.arrMenus.length;i++)
		{
		//render top menu
		if(this.arrMenus[i][1]=="0")
			{
			document.write("<tr><td style='border:"+this.styleBorder+";'>");
			
			var linkId="sc_link_"+this.oName+this.arrMenus[i][0];
			document.write("<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td id=\"divLabel"+this.oName+this.arrMenus[i][0]+"\" style='background:"+this.styleBg+";cursor:pointer;padding-left:"+this.stylePaddingLeft+";padding-right:"+this.stylePaddingRight+";padding-top:"+this.stylePaddingTop+";padding-bottom:"+this.stylePaddingBottom+";font-family:"+this.styleFontFamily+";font-weight:"+this.styleFontWeight+";font-size:"+this.styleFontSize+";color:"+this.styleColor+";' onclick=\"openLink('"+linkId+"')\" onmouseout=\""+this.oName+".mouseOut(this.id,'no');this.style.backgroundImage='url("+this.styleBgImg+")'\" onmouseover=\""+this.oName+".mouseOver(this.id,'no');this.style.backgroundImage='url("+this.styleBgImgOver+")';return !"+this.oName+".showMenu(this,'divMenu"+this.oName+this.arrMenus[i][0]+"',event)\" nowrap>");
			document.write(this.arrMenus[i][2]);
			document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[i][3]+"\"></a>")
			document.write("</td></tr></table>");
			
			//~~~~~~~~~~~~~~
			var nParent=this.arrMenus[i][0];
			
			document.write("<span id='divMenu"+this.oName+nParent+"' style='visibility:hidden;position:absolute;' onmouseover='event.cancelBubble=true;'>");
			document.write("<table cellpadding=0 cellspacing=0 width='"+this.Tblwidth+"'><tr><td></td></tr>");
			var nmCount=0;
			for(var j=0;j<this.arrMenus.length;j++)
				{				
				if(this.arrMenus[j][1]==nParent)
					{
					var sAlign="";if(this.align=="right")sAlign="align=right";
					var sTopBorder="";if(nmCount>0)sTopBorder="border-top:none;";nmCount++;
					var linkId="sc_link_"+this.oName+this.arrMenus[j][0];
					document.write("<tr><td "+sAlign+" nowrap id=\"divLabel"+this.oName+this.arrMenus[j][0]+"\" style='background:"+this.styleBg+";border:"+this.styleBorder+";"+sTopBorder+"cursor:pointer;padding-left:"+this.stylePaddingLeft+";padding-right:"+this.stylePaddingRight+";padding-top:"+this.stylePaddingTop+";padding-bottom:"+this.stylePaddingBottom+";font-family:"+this.styleFontFamily+";font-weight:"+this.styleFontWeight+";font-size:"+this.styleFontSize+";color:"+this.styleColor+";' onmouseout=\""+this.oName+".mouseOut(this.id,'no');\" onclick=\"openLink('"+linkId+"')\" onmouseover=\""+this.oName+".mouseOver(this.id,'no');return !"+this.oName+".showMenu2('divMenu"+this.oName+nParent+"',this,'divMenu"+this.oName+this.arrMenus[j][0]+"',event)\">");				
					document.write(this.arrMenus[j][2]);					
					document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[j][3]+"\"></a>")

					
					//~~~~~~~~~~~~~~
					var nParent2=this.arrMenus[j][0];
					
					document.write("<span id='divMenu"+this.oName+nParent2+"' style='visibility:hidden;position:absolute;' onmouseover='event.cancelBubble=true;'>");
					document.write("<table cellpadding=0 cellspacing=0><tr><td></td></tr>");
					var bTop=true;
					for(var k=0;k<this.arrMenus.length;k++)
						{
						if(this.arrMenus[k][1]==nParent2)
							{
							if(bTop)
								{
								bTop=false;
								
								var sAlign="";
								if(this.align=="right")sAlign="align=right";
								var linkId="sc_link_"+this.oName+this.arrMenus[k][0];
								document.write("<tr><td "+sAlign+" nowrap id=\"divLabel"+this.oName+this.arrMenus[k][0]+"\" style='background:"+this.styleBg+";border:"+this.styleBorder+";cursor:pointer;padding-left:"+this.stylePaddingLeft+";padding-right:"+this.stylePaddingRight+";padding-top:"+this.stylePaddingTop+";padding-bottom:"+this.stylePaddingBottom+";font-family:"+this.styleFontFamily+";font-weight:"+this.styleFontWeight+";font-size:"+this.styleFontSize+";color:"+this.styleColor+";' onclick=\"openLink('"+linkId+"');event.cancelBubble=true;\" onmouseout=\""+this.oName+".mouseOut(this.id,'no');\" onmouseover=\""+this.oName+".mouseOver(this.id,'no');\" >");
								document.write(this.arrMenus[k][2]);							
								document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[k][3]+"\"></a>")
								document.write("</td></tr>");
								}
							else
								{//border-top:none
								var sAlign="";
								if(this.align=="right")sAlign="align=right";
								var linkId="sc_link_"+this.oName+this.arrMenus[k][0];
								document.write("<tr><td "+sAlign+" nowrap id=\"divLabel"+this.oName+this.arrMenus[k][0]+"\" style='background:"+this.styleBg+";border:"+this.styleBorder+";border-top:none;cursor:pointer;padding-left:"+this.stylePaddingLeft+";padding-right:"+this.stylePaddingRight+";padding-top:"+this.stylePaddingTop+";padding-bottom:"+this.stylePaddingBottom+";font-family:"+this.styleFontFamily+";font-weight:"+this.styleFontWeight+";font-size:"+this.styleFontSize+";color:"+this.styleColor+";' onclick=\"openLink('"+linkId+"');event.cancelBubble=true;\" onmouseout=\""+this.oName+".mouseOut(this.id,'no');\" onmouseover=\""+this.oName+".mouseOver(this.id,'no');\" >");
								document.write(this.arrMenus[k][2]);							
								document.write("<a id=\""+linkId+"\" href=\""+this.arrMenus[k][3]+"\"></a>")
								document.write("</td></tr>");
								}
							}			
						}
					document.write("</table>")
					document.write("</span>");
					//~~~~~~~~~~~~~~					
					
					document.write("</td></tr>");		
					}			
				}
			document.write("</table>");				
			document.write("</span>");
			//~~~~~~~~~~~~~~
				
			document.write("</td></tr>");
			}
		}
	document.write("</table>");
	}

function objStyle(idName)
	{
	if(document.getElementById && document.getElementById(idName))
		return document.getElementById(idName).style;
	else if(document.all && document.all(idName))
		return document(idName).style;
	else if(document.layers && document.layers(idName))//not used
		return document.layers(idName);
	else return false;
	}

function showMenu(oEl,idMenu,evt)
	{
	document.onmouseover=new Function(this.oName+".hideMenuAll()");
	
	var oMenuStyle=objStyle(idMenu);
	if(this.renderType=="horizontal")
		{
		oMenuStyle.top = getTop(oEl.id)+oEl.offsetHeight;
		if(this.align=="left") oMenuStyle.left = getLeft(oEl.id);
		else oMenuStyle.left = getLeft(oEl.id)+getWidth(oEl.id)-getWidth(idMenu)+2;//+2 => adjustment
		}
	else
		{//vertical
		oMenuStyle.top = getTop(oEl.id)+4;//+4 => adjustment
		if(this.align=="left")oMenuStyle.left=getLeft(oEl.id)+getWidth(oEl.id);
		else oMenuStyle.left=getLeft(oEl.id)-getWidth(idMenu)+4;//+4 => adjustment
		}
	this.hideMenuAll();
	evt.cancelBubble=true;
	var oMenuStyle=objStyle(idMenu);
	if(oMenuStyle) 
		{
		oMenuStyle.visibility="visible";
		return true;
		}
	else return false;
	}
	
var sActiveSubMenu=null;
function showMenu2(oElParent,oEl,idMenu,evt)
	{
	document.onmouseover=new Function(this.oName+".hideMenuAll()");
	
	var oMenuStyle=objStyle(idMenu);
	oMenuStyle.top = getTop(oEl.id)-getTop(oElParent)+4;//+4 => adjustment
	if(this.align=="left") oMenuStyle.left=getWidth(oElParent)-4;//+4 => adjustment
	else
		{
		oMenuStyle.left=-getWidth(idMenu)+4;//+4 => adjustment
		oMenuStyle.left=-getWidth(idMenu)+4;//+4 => adjustment
		}
	
	if(sActiveSubMenu!=idMenu)
		{
		if(sActiveSubMenu)
			{
			var oMenuStyle=objStyle(sActiveSubMenu)
			oMenuStyle.visibility="hidden";
			}
		sActiveSubMenu=idMenu
		}

	evt.cancelBubble=true;
	var oMenuStyle=objStyle(idMenu)
	if(oMenuStyle) 
		{
		oMenuStyle.visibility="visible";
		return true;
		}
	else return false;
	}

function hideMenuAll()
	{
	for(var i=0;i<this.arrMenus.length;i++)
		{
		var id=this.arrMenus[i][0]
		var oMenuStyle=objStyle("divMenu"+this.oName+id)
		if(oMenuStyle) oMenuStyle.visibility="hidden";
		}
	}
function getWidth(idEl)
	{
	if(document.all && document.all(idEl))
		return document.all(idEl).offsetWidth;
	else if(document.getElementById && document.getElementById(idEl))
		return  document.getElementById(idEl).offsetWidth;
	else return false;
	}
function getLeft(idEl) 
	{
	if(document.all && document.all(idEl))
		{//IE
		var oEl=document.all(idEl);
		var oElTmp=oEl;
		var nLeft=0;
		while(oElTmp!=null)
			{
			nLeft+=oElTmp["offsetLeft"]
			oElTmp=oElTmp.offsetParent
			}
		return nLeft;
		}
	else if(document.getElementById && document.getElementById(idEl))
		{//Nets & IE
		var oElTmp = document.getElementById(idEl);
		var nLeft=0;
		while(oElTmp!=null)
			{
			nLeft+=oElTmp["offsetLeft"]
			oElTmp=oElTmp.offsetParent
			}
		return nLeft-1;// -1 => adjustment
		}
	else if(document.layers && document.layers(idEl)) return document.layers(idEl).pageX;//not used
	else return false;
	}

function getTop(idEl) 
	{
	if(document.all && document.all(idEl))
		{
		var oEl=document.all(idEl);
		var oElTmp=oEl;
		var nTop=0;
		while(oElTmp!=null)
			{
			nTop+=oElTmp["offsetTop"]
			oElTmp=oElTmp.offsetParent
			}
		return nTop+1;// +1 => adjustment
		}
	else if(document.getElementById && document.getElementById(idEl))
		{
		var oElTmp = document.getElementById(idEl);
		var nTop=0;
		while(oElTmp!=null)
			{
			nTop+=oElTmp["offsetTop"]
			oElTmp=oElTmp.offsetParent
			}
		return nTop;
		}	 
	else if(document.layers && document.layers(idEl)) return document.layers(idEl).pageY;//not used
	else return false;
	}

function mouseOver(idEl,var1)
	{
	var oElStyle=objStyle(idEl); 
		switch(var1){
		case 'no':
	oElStyle.backgroundImage="url("+this.styleBgImgOver+")";
	oElStyle.background=this.styleBgOver;
	oElStyle.color=this.styleColorOver;
		break
		case 'yes':
	oElStyle.backgroundImage="url("+this.SubstyleBgImgOver+")";
	oElStyle.background=this.SubstyleBgOver;
	oElStyle.color=this.SubstyleColorOver;
		break
		}
	}
function mouseOut(idEl,var1)
	{
	var oElStyle=objStyle(idEl); 
		switch(var1){
		case 'no':
	oElStyle.backgroundImage="url("+this.styleBgImg+")";
	oElStyle.background=this.styleBg;
	oElStyle.color=this.styleColor;
		break
		case 'yes':
	oElStyle.backgroundImage="url("+this.SubstyleBgImg+")";
	oElStyle.background=this.SubstyleBg;
	oElStyle.color=this.SubstyleColor;
		break
		}
	}
function openLink(id)
	{
	if(document.all && document.all(id))
		oEl=document.all(id);
	else if(document.getElementById && document.getElementById(id))
		oEl=document.getElementById(id);
	else oEl=null;
	if(oEl) 
		{
		window.location.href=oEl.href;
		}
	}
// ------------------
// ------------------
// ------------------ DHTML MENU OVER
// ------------------
// ------------------




// ------------------
// ------------------
// ------------------ HELP - SOUL TYPE
// ------------------
// ------------------
var divname="soultip";
var divInnername="soultipinner";
var fixed=false;
var soultip="<div id='soultip'><div id='soultipinner'></div></div><link href='/soultip.css' rel='stylesheet' type='text/css' />"
var CoordLeft=10;
var CoordRight=-15;
var hiddenTags = new Array();
function fm_MXY(XorY){ // Mouse Coords
	var coord = 0;
	XorY=="x"?coord = event.clientX + document.body.scrollLeft:coord = event.clientY + document.body.scrollTop;
	if(coord<0)coord=0;
	return coord;
}
function fm_help(){ // Show-Hide 
	var NewCoordLeft=0,NewCoordRight=0; 
	var d=document;
	var thisObj = d.getElementById(divname); // findObj
	var browserwidth=document.body.clientWidth; // Browser sizes - Positions
	var browserheight=document.body.clientHeight+document.body.scrollTop+25;
	var soulwidth=thisObj.offfsetWidth+10, soulheight=thisObj.offfsetHeight+10; // Soultip sizes

	var activeObj=window.event.srcElement; // Active Object
	var desc=activeObj.help; //help tag
	
	if(desc!=null){	//If object help tag exist
		var x = fm_MXY("x"), y = fm_MXY("y");
		if(document.alldesc==desc){	//If fixed
			NewCoordLeft=activeObj.offfsetLeft+activeObj.offfsetWidth-x;
			NewCoordRight=activeObj.offfsetTop-y;
		}

		NewCoordLeft+=(x+soulwidth>browserwidth)?-soulwidth:CoordLeft; //idea by Yusuf Ušur Soysal - hayalet
		NewCoordRight+=(y+soulheight>browserheight)?-soulheight:CoordRight;

		thisObj.style.left=x+NewCoordLeft+"px"; //Move X 
		thisObj.style.top=y+NewCoordRight+"px"; //Move Y

		fm_writehelp(desc); //print output
		hy_collusion(thisObj); //Hide SelectBoxes by hayalet
		
		if(fixed)document.alldesc=desc; //cache for fixed
	
	}else{
		hy_collusionRecover(); //Recover Selects by hayalet
		thisObj.style.display="none";
	}
}
function fm_writehelp(val){ // Write Tip
	var d=document;
	var thisObj = d.getElementById(divname);
	var innerObj = d.getElementById(divInnername);
	innerObj.innerHTML=val;
	thisObj.style.display="block";	
}
function hy_collusion(obj){ // Hide Selectboxes by Yusuf Ušur Soysal - hayalet
	var offfsetLeft   = obj.offfsetLeft;
	var offfsetTop    = obj.offfsetTop;
	var offfsetWidth  = obj.offfsetWidth;
	var offfsetHeight = obj.offfsetHeight;
	
	var topLeftX     = offfsetLeft;
	var topLeftY     = offfsetTop;
	var bottomRightX = offfsetLeft + offfsetWidth;
	var bottomRightY = offfsetTop  + offfsetHeight;
	var hyl = 0;
	
	if(document.getElementsByTagName){
		var selectTags = document.getElementsByTagName("select");
		
		for( ; hyl < selectTags.length; hyl++){
			var tag = selectTags[hyl];											
			var x1 = tag.offfsetLeft;
			var y1 = tag.offfsetTop;
			var x2 = x1 + tag.offfsetWidth;
			var y2 = y1 + tag.offfsetHeight;
			
			if( ((topLeftX < x1 && x1 < bottomRightX) || (topLeftX < x2 && x2 < bottomRightX)) &&
				((topLeftY < y1 && y1 < bottomRightY) || (topLeftY < y2 && y2 < bottomRightY)) ) {
			
				tag.style.visibility = "hidden";
				hiddenTags[ hiddenTags.length ] = tag;			
			}	
			else
				tag.style.visibility = "visible";
		}		
	}
}
function hy_collusionRecover(){// Hide Selectboxes by Yusuf Ušur Soysal - hayalet
	var hyl = 0;
	
	for( ; hyl<hiddenTags.length; hyl++)
		hiddenTags[hyl].style.visibility = "visible";
}
if(document.all){ //Hide from other browsers
	document.write(soultip);
	document.onmousemove=fm_help;
}
// ------------------
// ------------------
// ------------------ HELP - SOUL TYPE OVER
// ------------------
// ------------------



// ROLLOVER RESIM ISLEMI
function imgover(imgname, loadwhat){
imgname.src = loadwhat
}
function imgout(imgname, loadwhat){
imgname.src = loadwhat
}

//POPUP PENCERE ACAR
var win = null;
function newWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  wint = wint - 33;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}

//DIALOG KUTUSU ACALIM
function MM_openMDialog(theURL,args,features) { //v2.0
  var returnedValue = window.showModalDialog(theURL,args,features);
  eval (returnedValue);
}

