//The following code was used originally at eyestorm.com
//It was taken and cleaned up a bit (stuff not needed at
//glassdog.com was removed) and altered here and there.
//It is otherwise almost entirely not original code.

var topOffset = 177
var HANDLER;

function smoothMove() {
	var Dif = parseInt((document.body.scrollTop+topOffset-document.all.menuHolder.offsetTop)*.1)
	// Work-around wierd Netscape NaN bug when Dif is 0
	if (isNaN(Dif)) Dif=0
	document.all.menuHolder.style.pixelTop+=Dif
}

function keepAlive() {
	// Move the content into view
	document.all.menuHolder.style.pixelTop = document.body.scrollTop + topOffset
}

function doLoad() {
	setup()
	
	if((navigator.appName == "Microsoft Internet Explorer")&&(navigator.appVersion.indexOf("Mac") != -1 )&&(navigator.appVersion.indexOf("5") != -1)){
//Mac IE 4.5 doesn't support the smooth method 
		window.onscroll = keepAlive;
	}else{
		HANDLER = window.setInterval("smoothMove()",20)
	}
}

function IE_Win32_fix(){
//Reenable the timer in Win32 IE coz of a flicker problem...
//Solves a problem when returning from the callme popup...[JH]
	if(navigator.appName == "Microsoft Internet Explorer"){
		if(navigator.platform == "Win32"){
			HANDLER = window.setInterval("smoothMove()",20)
			window.focus();
		}
	}
}

function animaster(){
	smoothMove();
	
}

var newWin = null

	function alterBody(){
		body.moveTo(130,(headerIntro.y)+(headerIntro.h));
	}


// Dynamic Layer Object
// sophisticated layer/element targeting and animation object which provides 
//the core functionality needed in most DHTML applications
// 19990604

// Copyright (C) 1999 Dan Steinman
// Distributed under the terms of the GNU Library General Public License
// Available at http://www.dansteinman.com/dynapi/

function DynLayer(id,nestref,frame) {
	if (!is.ns5 && !DynLayer.set && !frame) DynLayerInit()
	this.frame = frame || self
	if (is.ns) {
		if (is.ns4) {
			if (!frame) {
				if (!nestref) var nestref = DynLayer.nestRefArray[id]
				if (!DynLayerTest(id,nestref)) return
				this.css = (nestref)? eval("document."+nestref+".document."+id) : document.layers[id]
			}
			else this.css = (nestref)? eval("frame.document."+nestref+".document."+id) : frame.document.layers[id]
			this.elm = this.event = this.css
			this.doc = this.css.document
		}
		else if (is.ns5) {
			this.elm = document.getElementById(id)
			this.css = this.elm.style
			this.doc = document
		}
		this.x = this.css.left
		this.y = this.css.top
		this.w = this.css.clip.width
		this.h = this.css.clip.height
	}
	else if (is.ie) {
		this.elm = this.event = this.frame.document.all[id]
		this.css = this.frame.document.all[id].style
		this.doc = document
		this.x = this.elm.offsetLeft
		this.y = this.elm.offsetTop
		this.w = (is.ie4)? this.css.pixelWidth : this.elm.offsetWidth
		this.h = (is.ie4)? this.css.pixelHeight : this.elm.offsetHeight
	}
	this.id = id
	this.nestref = nestref
	this.obj = id + "DynLayer"
	eval(this.obj + "=this")
}
function DynLayerMoveTo(x,y) {
	if (x!=null) {
		this.x = x
		if (is.ns) this.css.left = this.x
		else this.css.pixelLeft = this.x
	}
	if (y!=null) {
		this.y = y
		if (is.ns) this.css.top = this.y
		else this.css.pixelTop = this.y
	}
}
function DynLayerMoveBy(x,y) {
	this.moveTo(this.x+x,this.y+y)
}
function DynLayerShow() {
	this.css.visibility = (is.ns4)? "show" : "visible"
}
function DynLayerHide() {
	this.css.visibility = (is.ns4)? "hide" : "hidden"
}
DynLayer.prototype.moveTo = DynLayerMoveTo
DynLayer.prototype.moveBy = DynLayerMoveBy
DynLayer.prototype.show = DynLayerShow
DynLayer.prototype.hide = DynLayerHide
DynLayerTest = new Function('return true')

// DynLayerInit Function
function DynLayerInit(nestref) {
	if (!DynLayer.set) DynLayer.set = true
	if (is.ns) {
		if (nestref) ref = eval('document.'+nestref+'.document')
		else {nestref = ''; ref = document;}
		for (var i=0; i<ref.layers.length; i++) {
			var divname = ref.layers[i].name
			DynLayer.nestRefArray[divname] = nestref
			var index = divname.indexOf("Div")
			if (index > 0) {
				eval(divname.substr(0,index)+' = new DynLayer("'+divname+'","'+nestref+'")')
			}
			if (ref.layers[i].document.layers.length > 0) {
				DynLayer.refArray[DynLayer.refArray.length] = (nestref=='')? ref.layers[i].name : nestref+'.document.'+ref.layers[i].name
			}
		}
		if (DynLayer.refArray.i < DynLayer.refArray.length) {
			DynLayerInit(DynLayer.refArray[DynLayer.refArray.i++])
		}
	}
	else if (is.ie) {
		for (var i=0; i<document.all.tags("div").length; i++) {
			var divname = document.all.tags("div")[i].id
			var index = divname.indexOf("Div")
			if (index > 0) {
				eval(divname.substr(0,index)+' = new DynLayer("'+divname+'")')
			}
		}
	}
	return true
}
DynLayer.nestRefArray = new Array()
DynLayer.refArray = new Array()
DynLayer.refArray.i = 0
DynLayer.set = false

// Slide Methods
function DynLayerSlideTo(endx,endy,inc,speed,fn) {
	if (endx==null) endx = this.x
	if (endy==null) endy = this.y
	var distx = endx-this.x
	var disty = endy-this.y
	this.slideStart(endx,endy,distx,disty,inc,speed,fn)
}
function DynLayerSlideBy(distx,disty,inc,speed,fn) {
	var endx = this.x + distx
	var endy = this.y + disty
	this.slideStart(endx,endy,distx,disty,inc,speed,fn)
}
function DynLayerSlideStart(endx,endy,distx,disty,inc,speed,fn) {
	if (this.slideActive) return
	if (!inc) inc = 10
	if (!speed) speed = 20
	var num = Math.sqrt(Math.pow(distx,2) + Math.pow(disty,2))/inc
	if (num==0) return
	var dx = distx/num
	var dy = disty/num
	if (!fn) fn = null
	this.slideActive = true
	this.slide(dx,dy,endx,endy,num,1,speed,fn)
}
function DynLayerSlide(dx,dy,endx,endy,num,i,speed,fn) {
	if (!this.slideActive) return
	if (i++ < num) {
		this.moveBy(dx,dy)
		this.onSlide()
		if (this.slideActive) setTimeout(this.obj+".slide("+dx+","+dy+","+endx+","+endy+","+num+","+i+","+speed+",\""+fn+"\")",speed)
		else this.onSlideEnd()
	}
	else {
		this.slideActive = false
		this.moveTo(endx,endy)
		this.onSlide()
		this.onSlideEnd()
		eval(fn)
	}
}
function DynLayerSlideInit() {}
DynLayer.prototype.slideInit = DynLayerSlideInit
DynLayer.prototype.slideTo = DynLayerSlideTo
DynLayer.prototype.slideBy = DynLayerSlideBy
DynLayer.prototype.slideStart = DynLayerSlideStart
DynLayer.prototype.slide = DynLayerSlide
DynLayer.prototype.onSlide = new Function()
DynLayer.prototype.onSlideEnd = new Function()

// Clip Methods
function DynLayerClipInit(clipTop,clipRight,clipBottom,clipLeft) {
	if (is.ie) {
		if (arguments.length==4) this.clipTo(clipTop,clipRight,clipBottom,clipLeft)
		else if (is.ie4) this.clipTo(0,this.css.pixelWidth,this.css.pixelHeight,0)
	}
}
function DynLayerClipTo(t,r,b,l) {
	if (t==null) t = this.clipValues('t')
	if (r==null) r = this.clipValues('r')
	if (b==null) b = this.clipValues('b')
	if (l==null) l = this.clipValues('l')
	if (is.ns) {
		this.css.clip.top = t
		this.css.clip.right = r
		this.css.clip.bottom = b
		this.css.clip.left = l
	}
	else if (is.ie) this.css.clip = "rect("+t+"px "+r+"px "+b+"px "+l+"px)"
}
function DynLayerClipBy(t,r,b,l) {
	this.clipTo(this.clipValues('t')+t,this.clipValues('r')+r,this.clipValues('b')+b,this.clipValues('l')+l)
}
function DynLayerClipValues(which) {
	if (is.ie) var clipv = this.css.clip.split("rect(")[1].split(")")[0].split("px")
	if (which=="t") return (is.ns)? this.css.clip.top : Number(clipv[0])
	if (which=="r") return (is.ns)? this.css.clip.right : Number(clipv[1])
	if (which=="b") return (is.ns)? this.css.clip.bottom : Number(clipv[2])
	if (which=="l") return (is.ns)? this.css.clip.left : Number(clipv[3])
}
DynLayer.prototype.clipInit = DynLayerClipInit
DynLayer.prototype.clipTo = DynLayerClipTo
DynLayer.prototype.clipBy = DynLayerClipBy
DynLayer.prototype.clipValues = DynLayerClipValues

// Write Method
function DynLayerWrite(html) {
	if (is.ns) {
		this.doc.open()
		this.doc.write(html)
		this.doc.close()
	}
	else if (is.ie) {
		this.event.innerHTML = html
	}
}
DynLayer.prototype.write = DynLayerWrite

// BrowserCheck Object
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}
is = new BrowserCheck()



var startTagFix = '</';
var msie_windows = 0;
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.v = parseInt(navigator.appVersion)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	if (this.ie5) this.v = 5
	this.mac = (navigator.appVersion.indexOf("Mac") != -1 )
	this.min = (this.ns||this.ie)
}

// automatically create the "is" object
is = new BrowserCheck()

function init() {
	DynLayerInit();
	setTimeout("resizeDiv()",1)
}

// Netscape Resize Fix
if (is.ns) {
	widthCheck = window.innerWidth
	heightCheck = window.innerHeight
	window.onResize = resizeFix()
}
function resizeFix() {
	//alert("resized")
	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
	document.location.href = document.location.href
}

function resizeDiv() {
	if (is.ie && is.mac) {
		document.all.fixItDiv.style.height = 10;  //10 is an arbitrary figure
	}
}

window.onError = null


<script>
window.google_analytics_uacct = "UA-231925-2"
</script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-231925-2");
pageTracker._initData();
pageTracker._trackPageview();

</script>

<!-- Begin -  Site: Jeeran.com Zone: Members - Eye Blaster -->
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
</script>

<script type='text/javascript'>
GS_googleAddAdSenseService('ca-pub-0670253781192195');
GS_googleEnableAllServices();
</script>
<script type="text/javascript" src="http://www.jeeran.com/JS/jq_1.3.1.js"></script>
<script type='text/javascript'>
GA_googleAddSlot('ca-pub-0670253781192195','MemberPages_Overlay');
</script>
<script type='text/javascript'>
GA_googleFetchAds();
</script>

<script  type='text/javascript'>GA_googleFillSlot('MemberPages_Overlay');</script>
<!-- End -  Site: Jeeran.com Zone: Members - Eye Blaster -->

<!-- START Nielsen Online SiteCensus V6.0 -->
<!-- COPYRIGHT 2009 Nielsen Online -->
<script type="text/javascript" src="//secure-it.imrworldwide.com/v60.js"></script>
<script type="text/javascript">
    var pvar = { cid: "mena-jeeran", content: "0", server: "secure-it" };
    var trac = nol_t(pvar); trac.record().post(); </script>
    <noscript>
        <div>
            <img src="//secure-it.imrworldwide.com/cgi-bin/m?ci=mena-jeeran&amp;cg=0&amp;cc=1&amp;ts=noscript" width="1" height="1" alt="" />
        </div>
    </noscript>
<!-- END Nielsen Online SiteCensus V6.0 -->

<script type="text/javascript" src="http://static.jeeranservices.net/j/memberpages/footer.js"></script>

<script type="text/javascript" src="http://static.jeeranservices.net/j/memberpages/jlib.min.js"></script>

<div>
<link href="http://www.jeeran.com/blogstoolbar/styles/jbtoolbar.css" rel="stylesheet" type="text/css" media="screen" />
	<script type="text/javascript" src="http://www.jeeran.com/blogstoolbar/js/blogtoolbar.js"></script>
	<div class="jm_ToolBar" style="height:36px; background:#f5f5f5 url(../btnshadow.png) bottom repeat-x; text-align:center; ">
    	<div style="position:relative; width:990px; z-index:1;height:36px; margin:0 auto">
            <form id="formBlogToolbar" method="get" onsubmit="return redirectSearchPage();">
            <ul class="jbTBcontent">
	            <li class="jbLogo">
    	            <a id="lnkJeeranLogo"></a>
                </li>
                <li class="jbSearchInput">
    	            <input id="txtSearch" type="text" />
                </li>
                <li class="jbSearchBtn">
    	            <input type="submit" name="btnSearch" value="&#x627;&#x628;&#x62D;&#x62B;" id="btnSearch" />
                </li>
                <li class="jbBrevBtn">
    	            <a id="lnkPreviousBlog">&#x627;&#x644;&#x645;&#x62F;&#x648;&#x646;&#x629;&#x20;&#x627;&#x644;&#x633;&#x627;&#x628;&#x642;&#x629;</a>
                </li>
                <li class="jbNextBtn">
    	            <a id="lnkNextBlog">&#x627;&#x644;&#x645;&#x62F;&#x648;&#x646;&#x629;&#x20;&#x627;&#x644;&#x62A;&#x627;&#x644;&#x64A;&#x629;</a>
                </li>
                <li class="jbAbuseRed">
    	            <a style="cursor:pointer" onclick="reportAbuse();">&#x628;&#x644;&#x63A;&#x20;&#x639;&#x646;&#x20;&#x645;&#x62D;&#x62A;&#x648;&#x649;&#x20;&#x645;&#x633;&#x64A;&#x621;</a>
                </li>
                <li class="jbCreatBlog">
    	            <a id="lnkCreateBlog">&#x623;&#x646;&#x634;&#x649;&#x621;&#x20;&#x645;&#x62F;&#x648;&#x646;&#x62A;&#x643;&#x20;&#x645;&#x62C;&#x627;&#x646;&#x627;</a>
                </li>
                <li class="jbSeparator"></li>
                <li class="jbLoginLnk">
                    <a id="lnkLogin">&#x62F;&#x62E;&#x648;&#x644;</a>
                </li>
            </ul>
            </form>
        </div>
    </div>
</div>