switch(document.domain)
{
	case "localhost": url= "http://localhost/jammag/"; urla="http://localhost/jamnt/"; break;
	case "192.10.10.49": url= "http://192.10.10.49/jammag/"; urla="http://192.10.10.49/jamnt/"; break;	
	default: url= "http://www.jammag.com/"; urla="http://win.jammag.com/"; break;
}



var msg = "Coming Soon";

var menu1=new Array()
menu1[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a>'
menu1[1]='<a href="http://www.freewarejava.com">Freewarejava.com</a>'
menu1[2]='<a href="http://codingforums.com">Coding Forums</a>'
menu1[3]='<a href="http://www.cssdrive.com">CSS Drive</a>'


var menu2=new Array()
menu2[0]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?section_id=1&cs=no">Cover Story</a>'
menu2[1]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?section_id=4">Khaak-E-Shayari</a>'
menu2[2]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?section_id=2&cs=yes">Laugh Out Loud</a>'
menu2[3]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?section_id=3&cs=yes&txt=txt">Species</a>'
menu2[4]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?section_id=5&cs=yes&txt=txt">Spoofs</a>'
menu2[5]='<a target=_top href="http://www.jammag.com/humerus/new1/nindex1.php?sec_id=6&es=yes&txt=txt">Eye Stoppers</a>'
menu2[6]='<a target=_top href="http://www.jammag.com/toon/index.php?toonsec_id=1">Toon Corner</a>'



var menu3=new Array()
menu3[0]='<a target=_top href="http://www.jammag.com/exam_notification.php">Exam Notifications</a>'
menu3[1]='<a target=_top href="http://www.jammag.com/careers/n/sctpg.php?sect_id=1">MBA</a>'
menu3[2]='<a target=_top href="http://www.jammag.com/careers/n/sctpg.php?sect_id=2">Engineering</a>'
menu3[3]='<a target=_top href="http://www.jammag.com/careers/n/sctpg.php?sect_id=3">Careers A-Z</a>'
menu3[4]='<a target=_top href="http://www.jammag.com/careers/n/sctpg.php?sect_id=4">Study Abroad</a>'
menu3[5]='<a target=_top href="http://win.jammag.com/careerbbs/index1.htm">Career Queries</a>'



var menu4=new Array()
menu4[0]='<a href="http://www.jammag.com/campus/index.php?section_id=6" target=_top>Campus Buzz</a>'
menu4[1]='<a href="http://www.jammag.com/campus/index.php?section_id=8" target=_top>Fest Zone</a>'
menu4[2]='<a href="http://www.jammag.com/campus/index.php?section_id=7" target=_top>Unofficial Prospectus</a>'
menu4[3]='<a href="http://www.jammag.com/campus/index.php?section_id=3" target=_top>U Know U R In</a>'
menu4[4]='<a href="http://www.jammag.com/campus/index.php?section_id=10" target=_top>BPO Buzz</a>'
menu4[5]='<a href="http://www.jammag.com/campus/index.php?section_id=9" target=_top>Big Cheez</a>'
menu4[6]='<a href="http://www.jammag.com/campus/index.php?section_id=11" target=_top>My Space</a>'

var menu5=new Array()
menu5[0]='<a href="http://www.jammag.com/folios/index.php" target=_top>Folios</a>'
menu5[1]='<a href="http://www.jammag.com/quest/" target=_top>Survey</a>'
menu5[2]='<a href="http://www.jammag.com/etc/index.php" target=_top>Etc</a>'

var menu6=new Array()
menu6[0]='<a href="http://www.jammag.com/coverstory/udna_cahtihun.php" target=_top>Main udna chahti thi</a>'
menu6[1]='<a href="http://www.jammag.com/coverstory/ur_fired.php" target=_top>You’re Fired</a>'
menu6[2]='<a href="http://www.jammag.com/coverstory/iski_voice.php" target=_top>Iski Voice Uska HEad</a>'
menu6[3]='<a href="http://www.jammag.com/coverstory/cough_potato.php" target=_top>Coach Potato</a>'
menu6[4]='<a href="http://www.jammag.com/coverstory/105_buddy_ba.php" target=_top>Happy Budday to BA</a>'
menu6[5]='<a href="http://www.jammag.com/coverstory/blind_bluff.php" target=_top>Blind mans bluff</a>'
menu6[6]='<a href="http://www.jammag.com/coverstory/vir_zaara%20se_story.php" target=_top>Vir Zaare Se</a>'
menu6[7]='<a href="http://www.jammag.com/coverstory/greathunt_story.php" target=_top>Great Energy Hunt</a>'
menu6[8]='<a href="http://www.jammag.com/coverstory/changemaker_story.php" target=_top>The Change Makers</a>'
menu6[9]='<a href="http://www.jammag.com/coverstory/cop_story.php" target=_top>Cop Story</a>'
menu6[10]='<a href="http://www.jammag.com/coverstory/dope_story.php" target=_top>Dope on Rehab</a>'

var menuwidth='165px' //default menu width
var menubgcolor='#ffffff' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ie6=document.all&&!document.layer
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden; z-index:100; width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6||ie6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu


document.write("<table width='984' height='125' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td  background='http://www.jammag.com/finalimgs/imgs/top-patti_02.jpg' height='125' width='984'colspan='7'><table width='519' border='0' align='right' height='0' dwcopytype='CopyTableRow' cellspacing='0' cellpadding='0'><tr> <td background='finalimgs/imgs/trans.gif' width='509' height='7'><img src='http://www.jammag.com/finalimgs/imgs/trans.gif' width='250' height='7'></td></tr><tr> <td height='60' align='center' width='509'><iframe frameborder='0' height='60' width='468' marginheight='0' marginwidth='0' src='http://win.jammag.com/BannerTop/index.asp' scrolling='No' style='border: 1 solid #ffffff'></iframe><!--<script language='JavaScript' src='http://www.jammag.com/bannertop.js'></script>--></td></tr><tr><td width='509' align='center'><img src='http://www.jammag.com/finalimgs/imgs/trans.gif' width='250' height='15'></td></tr><tr> <td width='509' align='center'> <form method='get' action='http://www.google.com/custom' target='google_window'><input type='hidden' name='domains' value='www.jammag.com'>&nbsp;&nbsp; <input type='text' name='q' size='18' maxlength='255' value='' id='sbi'><select name='sitesearch'><option value='www.jammag.com'  id='ss1'>JAM</option><option value=''  id='ss0'>Web</option></select><input type='submit' name='sa2' value='Google Search' id='sbb'><input type='hidden' name='client2' value='pub-3641160929809960'><input type='hidden' name='forid2' value='1'><input type='hidden' name='ie2' value='ISO-8859-1'><input type='hidden' name='oe2' value='ISO-8859-1'><input type='hidden' name='cof2' value='GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1'><input type='hidden' name='hl2' value='en'></form></td></tr></table> </td></tr><tr bgcolor='EBEBED'><td height='23' colspan='7' background='http://www.jammag.com/finalimgs/imgs/3dstrip.gif'><table width='984' border='0' cellpadding='0' cellspacing='0' ><tr align='left' > <td width='5' height='23'>&nbsp;</td><td width='63' height='23'><a class='txtHeadmenu' href='http://www.jammag.com'><font size='2' face='Zurich BT'><b><font color='#000000'>HOME</font></b></font></a></td><td width='74' height='23'><a class='txtHeadmenu'  href='default.htm' onClick='return clickreturnvalue()' onMouseOver='dropdownmenu(this, event, menu2, '150px')' onMouseOut='delayhidemenu()'><font face='Zurich BT' color='#000000'><b><font size='2'>HUMOUR</font></b></font></a></td><td width='74' height='23'><a  class='txtHeadmenu' href='default.htm' onClick='return clickreturnvalue()' onMouseOver='dropdownmenu(this, event, menu3, '150px')' onMouseOut='delayhidemenu()'><font face='Zurich BT' color='#000000'><b><font size='2'>CAREERS</font></b></font></a></td><td width='74' height='23'><a class='txtHeadmenu'  href='default.htm' onClick='return clickreturnvalue()' onMouseOver='dropdownmenu(this, event, menu4, '150px')' onMouseOut='delayhidemenu()'><font face='Zurich BT' color='#000000'><b><font size='2'>CAMPUS</font></b></font></a></td><td width='64' height='23'><a  class='txtHeadmenu' target=_top href='"+url+"music/index.php'><font face='Zurich BT' color='#000000'><b><font size='2'>MUSIC</font></b></font></a></td><td width='64' height='23'><a class='txtHeadmenu'  target=_top href='"+url+"movies/index.php'><font face='Zurich BT' color='#000000'><b><font size='2'>MOVIES</font></b></font></a></td><td width='58' height='23'><a  class='txtHeadmenu' target=_top href='"+url+"eatbeat/index.php'><font face='Zurich BT' color='#000000'><b><font size='2'>FOOD</font></b></font></a></td><td width='58' height='23'><a  class='txtHeadmenu' target=_top href='"+url+"rock/index.php'><font face='Zurich BT' color='#000000'><b><font size='2'>ROCK</font></b></font></a></td><td width='75' height='23'><a class='txtHeadmenu'  target=_top href='http://win.jammag.com/contests/new_index.asp'><font face='Zurich BT' color='#000000'><b><font size='2'>CONTEST</font></b></font></a></td><td width='81' height='23'><a class='txtHeadmenu' href='http://clubjam.jammag.com' target='_blank'><font face='Zurich BT' color='#000000'><b><font size='2'>CLUBJAM</font></b></font></a></td><td width='58' height='23'><a class='txtHeadmenu' href='http://jobokplease.com' target='_blank'><font face='Zurich BT' color='#000000'><b><font size='2'>JOBS</font></b></font></a></td><td width='77' height='23'><a  class='txtHeadmenu' href='default.htm' onClick='return clickreturnvalue()' onMouseOver='dropdownmenu(this, event, menu5, '150px')' onMouseOut='delayhidemenu()'><font face='Zurich BT' color='#000000'><b><font size='2'>ARCHIVES</font></b></font></a></td><td width='63' height='23'><a  class='txtHeadmenu' href='default.htm' onClick='return clickreturnvalue()' onMouseOver='dropdownmenu(this, event, menu6, '150px')' onMouseOut='delayhidemenu()'><font face='Zurich BT' color='#000000'><b><font size='2'>SPECIALS</font></b></font></a></td></tr></table></td></tr></table>");
