/*..................................| Feudat Arresalah v1.5 |..................................*/
//*********************************** By: Mortazah Annaser ************************************\\

function shwAddArt(con, itm)
{
	switch( con )
	{
		case 's':
			document.getElementById(itm).style.display='';
			document.getElementById('hLink').style.display='';
			document.getElementById('sLink').style.display='none';
		break;
		
		case 'h':
			document.getElementById(itm).style.display='none';
			document.getElementById('hLink').style.display='none';
			document.getElementById('sLink').style.display='';
		break;
	}	
}

//------------------------------------------------------------------------------------------//

function fil2DwlWin(filSec, filNam, filUrl)
{
	window.open('download.php?filsec='+filSec+'&amp;filnam='+filNam+'&amp;filurl='+filUrl,'dlwin','left=0, top=0,width='+(screen.availWidth-10)+', height=500, resizable=yes, scrollbars=yes, menubar=yes')	
}

function opnBrwWin(winUrl, WinFtr)
{
	window.open(winUrl, 'Window', WinFtr);	
}

//------------------------------------------------------------------------------------------//

function jmpMnu(targ,selObj)
{ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
}

//------------------------------------------------------------------------------------------//

//--------------------------------------------------------------------------------------------
function add2fav(webUrl, webNam){
	
	window.external.AddFavorite( webUrl, webNam)
}
//--------------------------------------------------------------------------------------------

//--------------------------------------------------------------------------------------------
function goBackDude()
{
	window.history.back();
}
//--------------------------------------------------------------------------------------------

//--------------------------------------------------------------------------------------------
function MnuNorOvr(objId, objCls)
{
	var objToOvr = document.getElementById(objId);
	objToOvr.style.cursor='pointer';
	return objToOvr.className=objCls;
}

function GoToPhoSec(basUrl)
{
	var basSitUrl = basUrl==null || basUrl=='' ? basSitUrl = null : basSitUrl = basUrl;
	if( basSitUrl != null )	return window.location = basSitUrl;
	else return false;
}
//--------------------------------------------------------------------------------------------

//--------------------------------------------------------------------------------------------
function ShwHid(Obj)
{
	var objToPrf = document.getElementById(Obj);
	if( objToPrf.style.display=='none' )
	{
		objToPrf.style.display='';
	}
	else
	{
		objToPrf.style.display='none';
	}
}

function ShwRHid(mod,obj)
{
var Obj2Mod = document.getElementById(obj);
	Obj2Mod.style.display = mod;
}

function CngInrTxt(obj, manVal, scdVal)
{
	obj.innerHTML == manVal ? obj.innerHTML = scdVal : obj.innerHTML = manVal;
}

function SetInrTxt(obj, manVal)
{
	obj.innerHTML = manVal;
}

//--------------------------------------------------------------------------------------------


/*................................| İFeudat. All rights reserved |................................*/