var script_code="<script language=\"JavaScript\">"+
"NS4=(document.layers) ;"+
"Opera=(navigator.userAgent.indexOf('Opera')!=-1)||(navigator.appName.indexOf('Opera')!=-1)||(window.opera);"+
"IE4=(document.all&&!Opera) ;"+
"mac=((IE4)&&(navigator.appVersion.indexOf (\"Mac\")!=-1));"+
"DOM=document.documentElement&&!NS4&&!IE4&&!Opera;"+
"mswnd=(navigator.appVersion.indexOf(\"Windows\")!=-1||navigator.appVersion.indexOf(\"WinNT\")!=-1);"+
"loadHandlers=null;"+
"if(IE4)"+
	"{"+
"	av=navigator.appVersion;"+
"	avi=av.indexOf(\"MSIE\");"+
"	if (avi==-1)"+
"		version = parseInt (av) ;"+
"	  else"+
"		version = parseInt(av.substr(avi+4)) ;"+
"	}"+
"</script>"+

"<script language=\"JavaScript1.2\">"+
"if(NS4||IE4||DOM||Opera)"+
"	{"+
"	imgFolder = \".\";"+
"	maxlev = 1;"+
"	bVarWidth = 1;"+
"	bShowDel = 300;"+
"	popupWidth = 110;"+
"	levelOffset = 20;"+
"	bord = 1;"+
"	vertSpace = 3;"+
"	sep = 1;"+
"	sepFrame = false;"+
"	openSameFrame = false;"+
"	cntFrame = \"content\";"+
"	contentFrame = \"content\";"+
"	mout = true;"+
"	iconSize = 8;"+
"	closeDelay = 1000;"+
"	tlmOrigBg = \"#952C40\";"+
"	tlmOrigCol = \"White\";"+
"	bBitmapScheme = false;"+
"	popupOpacity = 0;"+
"	bBitmapPopups = false;"+
"	popupOpenHeight = 0;"+
"	popupLeftPad = 0;"+
"	popupRightPad = 0;"+
"	tlmHlBg = \"#F8D0CF\";"+
"	tlmHlCol = \"Black\";"+
"	borderCol = \"White\";"+
"	menuHorizontal = true;"+
"	scrollHeight=6;"+
"	}"+
"</script>"+

"<script language=\"JavaScript1.2\">"+

"lev0 = new Array (\"9px\",true,false,\"White\",\"#952C40\",\"Black\",\"Arial,sans-serif,MS Sans Serif,Helvetica\",\"#F8D0CF\") ;"+
"lev1 = new Array (\"9px\",true,false,\"White\",\"#952C40\",\"Black\",\"Arial,sans-serif,MS Sans Serif,Helvetica\",\"#F8D0CF\") ;"+

"mn1 = new Array"+
"("+
"\"science\",\"http://sci.ui.ac.ir/\",0"+
",\"Literature\",\"http://ltr.ui.ac.ir/\",0"+
",\"Economics\",\"http://ase.ui.ac.ir/\",0"+
",\"Engineering\",\"http://eng.ui.ac.ir/\",0"+
",\"Education Science\",\"http://edu.ui.ac.ir/\",0"+
",\"Foregin Language\",\"http://fgn.ui.ac.ir/\",0"+
",\"Physical Education\",\"http://www.ui.ac.ir/uiitems/fclts/phy/\",0"+
")"+


"mn2 = new Array"+
"("+
"\"Web Mail\",\"\",0"+
",\"Software\",\"\",0"+
",\"Change Password\",\"\",0"+
",\"E- Research Resource\",\"\",0"+
",\"Electronic Book\",\"\",0"+
")"+


"absPath=\"\";"+
"if (sepFrame && !openSameFrame)"+
"	{"+
"	if (document.URL.lastIndexOf(\"\\\")>document.URL.lastIndexOf(\"/\")) {sepCh = \"\\\" ;} else {sepCh = \"/\" ;}"+
"	absPath = document.URL.substring(0,document.URL.lastIndexOf(sepCh)+1);"+
"	}"+
"popupOffset = 0;"+

"if (!loadHandlers)"+
"{"+
"	loadHandlers=new Array();"+
"	loadHandlers[0]='initializeMenu';"+
"	lastLoadHandler=0;"+
"}"+
"else"+
"{"+
"	lastLoadHandler++;"+
"	loadHandlers[lastLoadHandler]='initializeMenu';"+
"}"+
"window.onload=initializeAll;"+

"var activePopup=null;"+
"var activePopupTimeout;"+
"var maxZ=1000;"+
"var popupFrame;"+
"var targetFrame;"+
"var docLoaded=false;"+
"var bIncBorder=true;"+
"bBitmapPopups=0;"+
"if(bBitmapPopups) bord=0;"+

"function expandMenu(popupId,refWnd,dum)"+
"{"+
"	if(!docLoaded)return;"+
"	clearTimeout(activePopupTimeout);"+
"	if (activePopup&&activePopup.id!=popupId+\"popup\")"+
"		closePopup(activePopup.id);"+
"	if(popupId=='none')return;"+
"	var posRef=getElementById(window,popupId+\"top\");"+
"	var rect=getClientRect(posRef);"+
"	var x;"+
"	var y;"+
"	if(menuHorizontal)"+
"	{"+
"		x=rect.left;"+
"		y=rect.bottom+popupOffset;"+
"	}"+
"	else"+
"	{"+
"		x=rect.right+popupOffset;"+
"		y=rect.top;"+
"	}"+
"	if(sepFrame&&!openSameFrame)"+
"	{"+
"		var brRect=getBrowserRect(popupFrame);"+
"		var wRect=getBrowserRect(window);"+
"		switch (menuPos)"+
"		{"+
"		case 0:"+
"			x=brRect.left;"+
"			y+=brRect.top-wRect.top;"+
"			break;"+
"		case 1:"+
"			x=brRect.right;"+
"			y+=brRect.top-wRect.top;"+
"			break;"+
"		case 2:"+
"			x+=brRect.left-wRect.left;"+
"			y=brRect.top;"+
"			break;"+
"		case 3:"+
"			x+=brRect.left-wRect.left;"+
"			y=brRect.bottom;"+
"			break;"+
"		}"+
"	}"+
"	var popup=createPopupFromCode(popupId,0);"+
"	openPopup(popup,x,y,true,posRef);"+
"	activePopup=popup;"+
"}"+


"function oooo()"+
"{	alert(\"sdsdsd\") ;}"+
"</script>";



/*
function createMenuItem(popup,id,itemLink,itemText,popupArray,levelAttribs,bLast,popupHeight,parent)
{
	var itemType=0;
	var itemWnd=createElementEx(popupFrame.document,popup,\"span\",\"id\",id,null,null,\"width\",popupWidth-2*bord,null,null);
	itemWnd.innerHTML=itemText;
	addEvent(itemWnd,\"mouseover\",onItemOver,false);
	addEvent(itemWnd,\"mouseout\",onItemOut,false);
	addEvent(itemWnd,\"mousedown\",onItemClick,false);
	addEvent(itemWnd,\"dblclick\",onItemClick,false);
	itemWnd.owner=popup;
	with (itemWnd.style)
	{
		if(itemType==2)top=popupHeight-scrollHeight;
		else top=popupHeight;
		if(itemLink){cursor=(!IE4||version>=6)?\"pointer\":\"hand\";}
		else{cursor=\"default\";}
		color=levelAttribs [3];
		if (!bBitmapPopups)
		{
			if (!bLast)
			{
				borderBottomColor=borderCol;
				borderBottomWidth=sep;
				borderBottomStyle=\"solid\";
			}
		}
		else left=popupLeftPad+vertSpace;
		if (!itemType)padding=vertSpace;
		paddingLeft=popupLeftPad+vertSpace;
		paddingRight=(popupRightPad<iconSize?iconSize:popupRightPad)+vertSpace;
		fontSize=levelAttribs[0];
		fontWeight=(levelAttribs[1])?\"bold\":\"normal\";
		fontStyle=(levelAttribs[2])?\"italic\":\"normal\";
		fontFamily=levelAttribs[6];
	}
	if (popupArray)itemWnd.popupArray=popupArray;
	if(itemLink&&itemLink.indexOf(':/')==-1&&itemLink.indexOf(':\\')==-1) itemWnd.url=unescape(absPath)+itemLink;
	else itemWnd.url=itemLink;
	itemWnd.dispText=itemText;
	if (popupArray)
	{
		var leftImgPos=popupWidth-bord-iconSize-5;
		var topImgPos=itemWnd.offsetHeight/2-iconSize/2+popupHeight-2;
		txt=\"<div style='width:\"+iconSize+\";height:\"+iconSize+\";position:absolute;left:\"+leftImgPos+\";top:\"+topImgPos+\"'>\";
		txt+=\"<img src='\";
		if(imgFolder.indexOf('/')!=0)txt+=unescape(absPath);
		txt+=imgFolder+\"/sxicona.gif' border=0 width=\"+iconSize+\" height=\"+iconSize+\" align=right></span>\";
		itemWnd.insertAdjacentHTML(\"BeforeEnd\",txt);
	}
	return itemWnd.offsetHeight;
}

function onItemClick()
{

	var item=this;
	if (item.url)
	{
		var startPos=item.dispText.indexOf('<!--');
		if (startPos!=-1)
		{
			var endPos = item.dispText.indexOf('-->',startPos);
			var trgFrame = item.dispText.substring (startPos+4,endPos);
			if (trgFrame==\"_blank\") window.open (item.url);
			else eval(\"parent.frames.\"+trgFrame).location.href=item.url;
		}
		else
		{
			var find=item.url.indexOf(\"javascript:\");
			if (find!=-1)
				eval(item.url.substring(find));
			else
				targetFrame.location=item.url;
		}
		if(activePopup)closePopup(activePopup.id);
	}
}


function onItemOut()
{
	var item=this;
	item.style.color=item.owner.normalColor;
	item.style.backgroundColor=bBitmapPopups?\"transparent\":item.owner.normalBgColor;
}

function onItemOver()
{

	var item=this;
	if (item.owner.expandedWnd)
	{
		closePopup(item.owner.expandedWnd.id);
	}
	if (item.url&&item.url.indexOf(\"javascript:\")==-1)
		window.status=item.url;
	else
		window.status=\"\";
	
	item.style.color=item.owner.highlightColor;
	item.style.backgroundColor=item.owner.highlightBgColor;
	
	var items=getElementsByTagName(item.owner,\"SPAN\");
	var i=0;
	for (;i<items.length;i++)
	if(item!=items[i]&&(!items[i].id||items[i].id.indexOf(\"scroll\")==-1))
	{
		items[i].style.backgroundColor=bBitmapPopups?\"transparent\":item.owner.normalBgColor;
		items[i].style.color=item.owner.normalColor;
	}
	if (item.popupArray)
	{
		var rect=getClientRect(item);
		var x=rect.right-levelOffset;
		var y=rect.top;
		var popup=createPopupFromCode(item.popupArray,item.owner.level+1);
		item.owner.expandedWnd=popup;
		openPopup(popup,x,y+2,false,item.owner);
	}
}


function getElementById(wnd,id)
{
	if(id&&wnd)return eval (\"wnd.\"+id);
	else return null;
}


function addEvent(obj,event,fun,bubble)
{
	if (obj.addEventListener)
		obj.addEventListener(event,fun,bubble);
	else
	{
		eval(\"obj.on\"+event+\"=\"+fun);
	}
}


function isChildOfActivePopup(popup)
{
	var wnd=activePopup;
	while(wnd)
	{
		if (wnd.id==popup.id)
		{
			return true;
		}
		wnd=wnd.expandedWnd;
	}
	return false;
}


function openPopup(popup,x,y,bDontMove,refWnd)
{
if(popup.id.indexOf('_')==-1){var hideWnd=getElementById(popupFrame,'HideItem');	if(hideWnd)hideWnd.style.display='';}
	popup.style.left=x;
	popup.style.top=y;
	popup.style.display=\"\";
	var popupRect=getClientRect(popup);
	var browserRect=getBrowserRect(popupFrame);
	var bResize=(popup.offsetHeight<popup.maxHeight);
	if (x+popupWidth>browserRect.right)
	{
		if(refWnd.id&&refWnd.id.indexOf('top')==-1)popup.style.left=Math.max(0,refWnd.offsetLeft-popupWidth+levelOffset);
		else popup.style.left=browserRect.right-popup.offsetWidth-5;
	}
}



function rct(left,top,right,bottom)
{
	this.left=left;
	this.top=top;
	this.right=right;
	this.bottom=bottom;
}

function collapseMenu(popupId)
{
	if(!docLoaded)return;
	var popup=getElementById(popupFrame,popupId+\"popup\");
	if(popup)onPopupOutImpl(popup);
}

function expandMenuNS(popupId,e,dItem)
{
}

function collapseMenuNS(popupId)
{
}



function createPopupFromCode(arrayName,level)
{
	var popupName=arrayName+\"popup\";
	var popup=getElementById(popupFrame,popupName);
	if (popup)return popup;
	var levelAttribs;
	if (level > maxlev) {levelAttribs = eval (\"lev\" + maxlev) ;} else {levelAttribs = eval (\"lev\" + level) ;}
	popup=createElementEx(popupFrame.document,popupFrame.document.body,\"DIV\",\"id\",popupName,null,null,\"position\",\"absolute\",null,null);
	popup.level=level;
	popup.highlightColor=levelAttribs[5];
	popup.normalColor=levelAttribs[3];
	popup.highlightBgColor=levelAttribs[7];
	popup.normalBgColor=levelAttribs[4];
	popup.scrVis=false;
	with (popup.style)
	{
		zIndex=maxZ;
		width=popupWidth;
		if (!bBitmapPopups)
		{
			borderColor=borderCol;
			backgroundColor=levelAttribs[4];
			borderWidth=bord;
			borderStyle=\"solid\";
		}
		else backgroundColor=\"\";
	}
	addEvent(popup,\"mouseout\",onPopupOut,false);
	addEvent(popup,\"mouseover\",onPopupOver,false);

	var popupHeight=0;
	if (bBitmapPopups)
	{
		var source=getElementById(window,'menubg4');
		if (source)
		{
			var imel=createElementEx(popupFrame.document,popup,\"IMG\",\"id\",popup.id+\"openingImg\",null,null,\"position\",\"absolute\",null,null);
			imel.src=source.src;
			imel.style.top=0;
			popupHeight+=popupOpenHeight;
		}
	}

	popup.style.backgroundColor=levelAttribs[4];

	var array=eval(arrayName);
	var arrayItem;
	for(arrayItem=0;arrayItem<array.length/3;arrayItem++)
	{
		var popupArray=(array[arrayItem*3+2])?(arrayName+\"_\"+parseInt(arrayItem+1)):null;
		popupHeight+=createMenuItem(popup,null,array[arrayItem*3+1],array[arrayItem*3],popupArray,levelAttribs,(arrayItem == array.length/3-1),popupHeight,popup);
	}
	popup.style.height=popupHeight+bord*2;
	popup.maxHeight=popupHeight+bord*2;
	var bottomImgHeight=0;
	if (bBitmapPopups)
	{
		var source=getElementById(window,'menubg6');
		if (source)
		{
			var imel=createElementEx(popupFrame.document,popup,\"IMG\",\"id\",popup.id+\"closingImg\",null,null,\"position\",\"absolute\");
			imel.src=source.src;
			imel.style.top=popupHeight-1;
			bottomImgHeight=imel.offsetHeight;
		}
	}
	return popup;
}



function closePopup(popupId)
{
	if(popupId.indexOf('_')==-1){var hideWnd=getElementById(popupFrame,'HideItem');if(hideWnd)hideWnd.style.display='none';}
	var popup=getElementById(popupFrame,popupId);
	if (popup)
	{
		if (popup.expandedWnd) closePopup (popup.expandedWnd.id);
		popup.style.display=\"none\";
	}
	if (activePopup && activePopup.id==popupId) activePopup=null;
}

function getClientRect(wnd)
{
	var left=mac?document.body.leftMargin:0;
	var top=mac?document.body.topMargin:0;
	var right=0;
	var bottom=0;
	var par=wnd;
	while (par)
	{
		left+=par.offsetLeft;
		top+=par.offsetTop;
		if (par.offsetParent==par || par.offsetParent==popupFrame.document.body) break;
		par=par.offsetParent;
	}
	right=left+wnd.offsetWidth;
	bottom=top+wnd.offsetHeight;
	var retval=new rct(left,top,right,bottom);
	return retval;
}

function getBrowserRect(doc)
{
	var left=0;
	var top=0;
	var right;
	var bottom;
	if(doc.pageXOffset)left=doc.pageXOffset;
	else if(doc.document.body.scrollLeft)left=doc.document.body.scrollLeft;
	if(doc.pageYOffset)top=doc.pageYOffset;
	else if(doc.document.body.scrollTop)top=doc.document.body.scrollTop;
	if(doc.innerWidth)right=left+doc.innerWidth;
	else if(doc.document.body.clientWidth)right=left+doc.document.body.clientWidth;
	if(doc.innerHeight)bottom=top+doc.innerHeight;
	else if(doc.document.body.clientHeight)bottom=top+doc.document.body.clientHeight;
	var retval=new rct(left,top,right,bottom);
	return retval;	
}

function chgBg(item,color)
{
	var el=getElementById(window,item);
	if (!IE4)return;
	if (color==0)
	{
		if(!bBitmapScheme)el.style.background=tlmOrigBg;
		el.style.color=tlmOrigCol;
	}
	else
	{
		if(!bBitmapScheme&&(color&1))el.style.background=tlmHlBg ;
		if(color&2)el.style.color=tlmHlCol ;
	}
}


function onPopupOver()
{
	if (activePopup && isChildOfActivePopup (this)) clearTimeout(activePopupTimeout);
}

function onPopupOut()
{
	onPopupOutImpl(this);
}

function onPopupOutImpl(popup)
{
	if (mout && activePopup && isChildOfActivePopup (popup))
	{
		if (activePopupTimeout) clearTimeout (activePopupTimeout);
		activePopupTimeout=setTimeout(\"closePopup('\"+activePopup.id+\"');\", closeDelay);
	}
}


function createElementEx(ownerDocument,parent,tag,a1,av1,a2,av2,s1,sv1,s2,sv2)
{
	var text=\"<\"+tag+\" \";
	if(a1)text+=a1+\"=\"+av1+\" \";
	if(a2)text+=a2+\"=\"+av2+\" \";
	if(s1||s2)
	{
		text+=\"style='\";
		if(s1)text+=s1+\":\"+sv1+\";\";
		if(s2)text+=s2+\":\"+sv2+\";\";
		text+=\"' \";
	}
	text+=\"></\"+tag+\">\";
	parent.insertAdjacentHTML(\"BeforeEnd\",text);
	return(parent.children[parent.children.length-1]);
}

function getElementsByTagName(parent,name)
{
	if(parent) return parent.all.tags(name);
	else return null;
}

function onPopupOutImpl(popup)
{
	if (mout && activePopup && isChildOfActivePopup (popup))
	{
		if (activePopupTimeout) clearTimeout (activePopupTimeout);
		activePopupTimeout=setTimeout(\"closePopup('\"+activePopup.id+\"');\", closeDelay);
	}
}


function initializeMenu()
{
	popupFrame=(sepFrame&&!openSameFrame)?findFrame(contentFrame):window;
	targetFrame=(sepFrame)?findFrame(cntFrame):window;
	if(!mout)addEvent(popupFrame.document,\"mousedown\",onDocClick,false);
	docLoaded=true;
}

function initializeAll()
{
	var i;
	for(i=0;i<=lastLoadHandler;i++)
	{
		eval(loadHandlers[i]+'();');
	}
}
//******************************************************************bayad bashad}

document.write(\"<style type='text/css'>\n\");
document.write(\".CL0 {text-decoration:none;color:White; }\n\");
if(!IE4&&!DOM) document.write(\".topFold {position:relative}\n\");
document.write(((NS4&&!bBitmapScheme)?\".mm2\":\".mit\")+\" {padding-left:5px;padding-right:5px;}\n\");
document.write(\"</style>\n\");
//-->
</script>*/


var before_var1= "<div align=center>"+
  "<center>"+
"<table border='0' width='100%' height='100%' cellspacing='0' cellpadding='0'>"+
  "<tr>"+
    "<td width='100%' valign=top' >"+
    "<table width='100%' height='88' cellspacing='0' cellpadding='0' style='border-collapse:collapse' bordercolor='#111111'>"+
        "<tr>"+
          "<td width='244' height='89' valign='top' background='http://www.ui.ac.ir/new_imgs/red-part1.jpg' nowrap style='margin-top: -5'>&nbsp;</td>"+
          "<td width='553' height='89' align='right' valign='bottom' background='http://www.ui.ac.ir/new_imgs/red-part2-simple.jpg' style='margin-top: -14' ><b>"+
          
		  
		  
		    "<table id='mainSXMenu2' class='mm2' cellspacing='0' cellpadding='5' border='0' width='452' style='border-collapse: collapse' bordercolor='#111111'>"+
			"<tr align='center'>"+
			"<td onmouseover='expandMenu('mn1','tlm0',event)' onmouseout='collapseMenu('mn1')'  id='tlm0'  class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='115'>"+
			"<a id='tlm0a' class='CL0' href='javascript:void(0);' onMouseOver='expandMenuNS('mn1',event)' onmouseout='collapseMenuNS('mn1')' >"+
			"<div id='mn1top' class='topFold'>Faculties</div></a></font></td>"+
			"<td onmouseover='expandMenu('mn1','tlm0',event)' onmouseout='collapseMenu('mn1')'  id='tlm0'  class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='6'>"+
			"|</td>"+
			"<td onmouseover='expandMenu('mn2','tlm1',event)' onmouseout='collapseMenu('mn2')' id='tlm1' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='89'><a id='tlm1a' class='CL0' href='javascript:void(0);' onMouseOver='expandMenuNS('mn2',event)' onmouseout='collapseMenuNS('mn2')' >"+
			"<div id='mn2top' class='topFold' style='width: 79; height: 12'>Intranet</div></a></font></td>"+
			"<td onmouseover='expandMenu('mn2','tlm1',event)' onmouseout='collapseMenu('mn2')' id='tlm1' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='1'>"+
			"|</td>"+
			"<td onmouseover='expandMenu('none','',event)'  id='tlm2'  class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; '><a id='tlm2a' class='CL0' href='http://www.ui.ac.ir/htdig/search.htm'>Search</a></font></td>"+
			"<td onmouseover='expandMenu('none','',event)'  id='tlm2' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='5'>"+
			"|</td>"+
			"<td onmouseover='expandMenu('none','',event)'  id='tlm3' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='67'><a id='tlm3a' class='CL0' href='http://www.ui.ac.ir/uiitems/nic/e_nic.htm' >Contact Us</a></font></td>"+
			"<td onmouseover='expandMenu('none','',event)'  id='tlm3' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='1'>"+
			"|</td>"+
			"<td onmouseover='expandMenu('none','',event)'  id='tlm4' class='mit' style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='66'><a id='tlm4a' class='CL0' href='http://www.ui.ac.ir/' >Home</a></font></td></tr></table>"+


		  
		  
		  "<p style='margin-top: 10' id='sv' align='left'>"+
          "<font face=\"Times New Roman\" size='4' color='#800000'>";
		  
		  
		  
				
				
var before_var= "<div align=center>"+
  "<center>"+
"<table border='0' width='100%' height='100%' cellspacing='0' cellpadding='0'>"+
  "<tr>"+
    "<td width='100%' valign=top' >"+
    "<table width='100%' height='80' cellspacing='0' cellpadding='0' style='border-collapse:collapse' bordercolor='#111111'>"+
        "<tr>"+
          "<td width='244' height='80' valign='top' background='http://www.ui.ac.ir/new_imgs/red-part1.jpg' nowrap style='margin-top: -5'>&nbsp;</td>"+
          "<td width='553' height='80' align='right' valign='bottom' background='http://www.ui.ac.ir/new_imgs/red-part2-simple.jpg' style='margin-top: -14' ><b>"+
          
		  
		  
		    "<table id='mainSXMenu2' class='mm2' cellspacing='0' cellpadding='5' border='0' width='452' style='border-collapse: collapse' bordercolor='#111111'>"+
			"<tr align='center'>"+
			"<td  style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='115'>"+
			"<a style='color:White;' href='http://www.ui.ac.ir/uiitems/fclts/e_fclts.htm'>Faculties</a></font></td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='6'>"+
			"|</td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='89'>"+
			"<a style='color:White;' href='http://www.ui.ac.ir/uiitems/local_site/local_page.htm'>Intranet</div></a></font></td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='1'>"+
			"|</td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; '>"+
			"<a style='color:White;' href='http://www.ui.ac.ir/htdig/search.htm' >Search</a></font></td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='5'>"+
			"|</td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='67'>"+
			"<a style='color:White;' href='http://www.ui.ac.ir/uiitems/nic/citcenter.htm' >Contact Us</a></font></td>"+
			"<td  style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='1'>"+
			"|</td>"+
			"<td style='color:White; font-weight:bold; font-family:Arial,sans-serif,MS Sans Serif,Helvetica; font-size:9px; ' width='66'>"+
			"<a style='color:White;' href='http://www.ui.ac.ir/' >Home</a></font></td></tr></table>"+


		  
		  
		  "<p style='margin-top: 10' id='sv' align='left'>"+
          "<font face=\"Times New Roman\" size='4' color='#800000'>";
		  				
				
		  
		  
var	after_var="</font></p>"+
          "<nobr><b style='font-size:x-small'><font class=arial10 color='#800000'>&nbsp; </font>          </td>"+
       
          "<td background='http://www.ui.ac.ir/new_imgs/repeat-line.jpg' height='80'><span style='width:26'>&nbsp;</span>"+
            "<p>&nbsp;</p>"+
          "</td>"+
        "</tr>"+
        "<tr>"+
          "<td width='797' height='89' valign='top' style='margin-top: -5' colspan='3'>";



var foot_var="</td>"+
        "</tr>"+
      "</table>   </td>"+
  "</tr>"+
  
"  </td>"+
"    <td width='9' align='left'>&nbsp;</td>"+
"  </tr>"+
"  <tr>"+
"    <td width='1006' colspan='4' height='66'>"+
"      <table border='0' width='100%' height='100%' cellspacing='0' cellpadding='0'>"+
"        <tr>"+
"          <td height='100%' background='http://www.ui.ac.ir/new_imgs/down-repeat.jpg'>&nbsp;</td>"+
"          <td width='569' height='66' background='http://www.ui.ac.ir/new_imgs/down-part2.jpg'>"+
"            <table width='100%' height='82' style='margin-top: -15'>"+
"              <tr>"+
"                <td width='100%' height='53' valign='bottom'>"+
"                <font style='FONT-SIZE: 9pt' face='Arial' color='#000080'>"+
"                Copyright© 2004, </font>"+
"                <font style='FONT-SIZE: 9pt' face='Arial' color='#902f41'>"+
"                <a title='Computing &amp; Information Technology Center'>CITC"+
"                of University of Isfahan </a></font></td>"+
"              </tr>"+
"              <tr>"+
"                <td width='100%' height='5' valign='bottom'>"+
"                <font face='Arial' color='#ffffff' size='1'>April 18, 2004</font></td>"+
"              </tr>"+
"          </table>          </td>"+
"          <td width='213' height='66' background='http://www.ui.ac.ir/new_imgs/down-part1.jpg'>&nbsp;</td>"+
"        </tr>"+
"      </table> "+  
  "</td>"+
  "</tr>"+
"</table>"+
  "</center>"+
"</div>";

//********************************************************************************************


function show_ui_header(){
 
header=before_var+"The University of Isfahan"+after_var;
document.write(header);

}


function show_eng_header()
{

	header=before_var+"Faculty of Engineering"+after_var;
	document.write(header);
}
	


function show_edu_header(){
 
header=script_code+before_var+"Faculty of Educational Sciences & Psychology"+after_var;
document.write(header);

}


function show_ase_header(){
header=before_var+"Faculty of Administrative Sciences & Economics"+after_var;
document.write(header);

}

function show_fgn_header(){

header=before_var+"Faculty of Foreign Language"+after_var;
document.write(header);

}

function show_ltr_header(){

header=before_var+"Faculty of Literature & Humanities "+after_var;
document.write(header);

}

function show_sci_header(){

header=before_var+"Faculty of Science"+after_var;
document.write(header);

}

function show_cc_header(){

header=before_var+"Computer Center"+after_var;
document.write(header);

}

//*******88***********************footer*************************
function show_footer(){
 	document.write(foot_var);
}


function show_ui_footer(){
 	document.write(foot_var);
}


function show_eng_footer()
{
	document.write(foot_var);
}
	

function show_edu_footer(){
 	document.write(foot_var);
}


function show_ase_footer(){
	document.write(foot_var);
}

function show_fgn_footer(){
	document.write(foot_var);
}

function show_ltr_footer(){
	document.write(foot_var);

}

function show_sci_footer(){
	document.write(foot_var);

}

function show_cc_footer(){
	document.write(foot_var);
}
	


