/************************************************************
Coolmenus Beta 4.06 - Copyright Thomas Brattli - www.dhtmlcentral.com
Last updated: 11.13.02

v4.06 - with basic frame support
*************************************************************/

/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
//Using the cm_page object to place the menu ----
  //There are some differences between the browsers that I try to fix here.
oCMenu.fromLeft=5 //-I comented this out- !bw.ns4?cmpage.x2 - 160:cmpage.x2 - 176
//We also need to "replace" the menu on resize. So:
oCMenu.onresize="oCMenu.fromLeft=5 //-I commented this out cmpage.x2 - 160"

oCMenu.fromTop=175   
oCMenu.rows=0
oCMenu.menuPlacement=0
                                                             
oCMenu.offlineRoot="file:///C:/Personal/Sites/fpj" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level

//if this is mozilla we need to make the menu skinnier
if(bw.moz)
{
	oCMenu.level[0].width=150;
}
else
{
	oCMenu.level[0].width=160;
}
oCMenu.level[0].height=25 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="right"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width + 5 //-2
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)

oCMenu.level[2].width=150
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

oCMenu.level[3]=new cm_makeLevel() //Add this for each new level


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Words of Caution','http://' + window.location.host + '/wordsofcaution/jokes.php') //used window.location.host so we always get the url right!
  
	
oCMenu.makeMenu('top1','','&nbsp;Easy Gags','http://'+ window.location.host + '/easy-gag-jokes/easygags.php')
	oCMenu.makeMenu('sub10','top1','BenGay','http://' + window.location.host + '/easy-gag-jokes/bengay.php')
	oCMenu.makeMenu('sub11','top1','Vaseline, Vaseline!','http://' + window.location.host + '/easy-gag-jokes/vaseline.php')
	oCMenu.makeMenu('sub12','top1','Food Coloring Gag','http://' + window.location.host + '/easy-gag-jokes/foodcoloring.php')	
	oCMenu.makeMenu('sub13','top1','Scotch Taping Prank','http://' + window.location.host + '/easy-gag-jokes/scotchtaping.php')	
	oCMenu.makeMenu('sub14','top1','Changing Signs','http://' + window.location.host + '/easy-gag-jokes/changingsigns.php')				
	oCMenu.makeMenu('sub15','top1','Pen Games','http://' + window.location.host + '/easy-gag-jokes/pengames.php')					
	oCMenu.makeMenu('sub16','top1','Nice Photo','http://' + window.location.host + '/easy-gag-jokes/nicephoto.php')				
	oCMenu.makeMenu('sub17','top1','Bulls-eye!','http://' + window.location.host + '/easy-gag-jokes/bullseye.php')					
	oCMenu.makeMenu('sub18','top1','I Need to Return This','http://' + window.location.host + '/easy-gag-jokes/returnthis.php')					
	oCMenu.makeMenu('sub19','top1','Salty Toothbrush','http://' + window.location.host + '/easy-gag-jokes/saltytoothbrush.php')					
	oCMenu.makeMenu('sub110','top1','Smell Gag','http://' + window.location.host + '/easy-gag-jokes/smellgag.php')					
	oCMenu.makeMenu('sub111','top1','Deviant Personals','http://' + window.location.host + '/easy-gag-jokes/deviantpersonals.php')					
	oCMenu.makeMenu('sub112','top1','Frosty the Snowman','http://' + window.location.host + '/easy-gag-jokes/frostythesnowman.php')					
	oCMenu.makeMenu('sub113','top1','Weed Whacker','http://' + window.location.host + '/easy-gag-jokes/weedwhacker.php')					

oCMenu.makeMenu('top2','','&nbsp;Practical Jokes','/practical-jokes/practical-jokes.php')
	oCMenu.makeMenu('sub21','top2','Still For Sale?','/practical-jokes/stillforsale.php')
	oCMenu.makeMenu('sub23','top2','Tasted Good','/practical-jokes/tastedgood.php')
	oCMenu.makeMenu('sub24','top2','Chain Mail Prank','/practical-jokes/chain-mail-prank.php')
	oCMenu.makeMenu('sub25','top2','Interior Decorator','/practical-jokes/interiordecorator.php')		
	oCMenu.makeMenu('sub26','top2','Any Mail Today?','/practical-jokes/mailtoday.php')
	oCMenu.makeMenu('sub27','top2','Care Package','/practical-jokes/carepackage.php')	
	oCMenu.makeMenu('sub28','top2','eBay Your Way','/practical-jokes/ebayyourway.php')
	oCMenu.makeMenu('sub29','top2','Holiday Prank','/practical-jokes/christmas-prank.php')
	oCMenu.makeMenu('sub210','top2','Happy Halloween','/practical-jokes/happyhalloween.php')
	oCMenu.makeMenu('sub211','top2','Welcome to the Club','/practical-jokes/gay-prank.php')
	oCMenu.makeMenu('sub212','top2','The Creative Tailor','/practical-jokes/creativetailor.php')

oCMenu.makeMenu('top3','','&nbsp;Prepackaged Pranks','/prepackaged-pranks/prepackagedpranks.php')
	oCMenu.makeMenu('sub31','top3','Fake Sleeping Dog','/prepackaged-pranks/sleeping-dog.php')
	oCMenu.makeMenu('sub32','top3','Electric Shocking Pen','/prepackaged-pranks/shocking-pen.php')
	oCMenu.makeMenu('sub33','top3','Exploding Lighter Gag','/prepackaged-pranks/explodinglightergag.php')	
	oCMenu.makeMenu('sub34','top3','Exploding Everything Gag','/prepackaged-pranks/explodinggag.php')
	oCMenu.makeMenu('sub35','top3','Fake Lottery Tickets','/prepackaged-pranks/fake-lottery-tickets.php')
	oCMenu.makeMenu('sub36','top3','Shocking Mouse Prank','/prepackaged-pranks/shocking-mouse.php')
	oCMenu.makeMenu('sub37','top3','Shock Lighter','/prepackaged-pranks/shock-lighter.php')
	oCMenu.makeMenu('sub38','top3','Shocking Beer Can','/prepackaged-pranks/shocking-beer-can.php')
	oCMenu.makeMenu('sub39','top3','Exploding Pen','/prepackaged-pranks/exploding-pen.php')	
	oCMenu.makeMenu('sub310','top3','Exploding String','/prepackaged-pranks/explodingstring.php')
	oCMenu.makeMenu('sub311','top3','Fake Parking Tickets','/prepackaged-pranks/fakeparkingtickets.php')
	oCMenu.makeMenu('sub312','top3','Tailpipe Whistle','/prepackaged-pranks/tail-pipe-whistle.php')
	oCMenu.makeMenu('sub313','top3','Fake Auto Scratch','/prepackaged-pranks/auto-scratch-prank.php')
	oCMenu.makeMenu('sub314','top3','Fake Knife Gag','/prepackaged-pranks/fake-knife-gag.php')
	oCMenu.makeMenu('sub315','top3','Fake Candy','/prepackaged-pranks/fakecandy.php')
	oCMenu.makeMenu('sub316','top3','Exploding Golf Ball','/prepackaged-pranks/exploding-golf-ball.php')


oCMenu.makeMenu('top4','','&nbsp;Office Pranks','/office-pranks/office-pranks.php')
	oCMenu.makeMenu('sub41','top4','Look Out Below','/office-pranks/lookoutbelowprank.php')	
	oCMenu.makeMenu('sub42','top4','The Boss Needs You','/office-pranks/bossneedsyouprank.php')
	oCMenu.makeMenu('sub43','top4','An Earful','/office-pranks/earful.php')
	oCMenu.makeMenu('sub44','top4','What Meeting?','/office-pranks/whatmeeting.php')
	oCMenu.makeMenu('sub45','top4','What The Hell?','/office-pranks/whatthehell.php')
	oCMenu.makeMenu('sub46','top4','Office Paper Prank','/office-pranks/office-paper-prank.php')

oCMenu.makeMenu('top5','','&nbsp;Camp Jokes','/camp-jokes/camp-jokes.php')
	oCMenu.makeMenu('sub51','top5','Push In','/camp-jokes/pushin.php')	
	oCMenu.makeMenu('sub52','top5','Mud Bath','/camp-jokes/mudbath.php')	
	oCMenu.makeMenu('sub53','top5','Shark','/camp-jokes/shark.php')	
	oCMenu.makeMenu('sub54','top5','Bush Dive','/camp-jokes/bushdive.php')
	oCMenu.makeMenu('sub55','top5','Old Man Tinkum','/camp-jokes/oldmantinkum.php')

oCMenu.makeMenu('top6','','&nbsp;Deception and Trickery','/deception-trickery-jokes/deception-trickery-jokes.php')
	oCMenu.makeMenu('sub61','top6','Pinchy Winchy','/deception-trickery-jokes/pinchywinchy.php')	
	oCMenu.makeMenu('sub62','top6','One Man&#146;s Trash','/deception-trickery-jokes/onemanstrash.php')
	oCMenu.makeMenu('sub63','top6','Frightening Fragrance Gag','/deception-trickery-jokes/frighteningfragrancegag.php')
	oCMenu.makeMenu('sub64','top6','Absolutely Nothing','/deception-trickery-jokes/absolutelynothing.php')
	oCMenu.makeMenu('sub65','top6','Blackmail','/deception-trickery-jokes/blackmail.php')
	oCMenu.makeMenu('sub66','top6','The Look Away Gag','/deception-trickery-jokes/lookawaygag.php')
	oCMenu.makeMenu('sub67','top6','Tears of Misery, Psyche','/deception-trickery-jokes/tearsofmisery.php')
	oCMenu.makeMenu('sub68','top6','Chocolate Anyone?','/deception-trickery-jokes/chocolateanyone.php')			

oCMenu.makeMenu('top7','','&nbsp;Irritating Jokes','/irritating-jokes/irritatingjokes.php')
	oCMenu.makeMenu('sub71','top7','Smell That','/irritating-jokes/smellthat.php')		
	oCMenu.makeMenu('sub72','top7','Flour Shower','/irritating-jokes/hoseoff.php')
	oCMenu.makeMenu('sub73','top7','Perfume Plume','/irritating-jokes/perfumeplumeprank.php')
	oCMenu.makeMenu('sub74','top7','Hidden Items Joke','/irritating-jokes/hiddenitemsjoke.php')
	oCMenu.makeMenu('sub75','top7','Scratch and Sniff Prank','/irritating-jokes/scratchandsniff.php')
	oCMenu.makeMenu('sub76','top7','Stop It!','/irritating-jokes/stopit.php')
	oCMenu.makeMenu('sub77','top7','The Pull Away','/irritating-jokes/pullawayprank.php')
	oCMenu.makeMenu('sub78','top7','My Hair!','/irritating-jokes/myhair.php')
	oCMenu.makeMenu('sub79','top7','Give A Shout Out','/irritating-jokes/giveashoutout.php')

oCMenu.makeMenu('top8','','&nbsp;Classic Gags','/standard-gags/standard-gags.php')
	oCMenu.makeMenu('sub81','top8','Door Practical Joke','/standard-gags/door-practical-joke.php')		
	oCMenu.makeMenu('sub82','top8','Freezing Shower Prank','/standard-gags/freezing-shower-prank.php')
	oCMenu.makeMenu('sub83','top8','Kitchen Water Fountain','/standard-gags/water-fountain-prank.php')
	oCMenu.makeMenu('sub84','top8','That&#146;s a Wrap!','/standard-gags/plastic-wrap-joke.php')
	oCMenu.makeMenu('sub85','top8','Car Soaping Gag','/standard-gags/car-soaping-gag.php')

oCMenu.makeMenu('top9','','&nbsp;My Obsession','/jokes/practical-jokes.php')	

oCMenu.makeMenu('top10','','&nbsp;Submitted Pranks','/funny-pranks.php')

oCMenu.makeMenu('top1_1','','&nbsp;Amusing Links','/links/links.php')


oCMenu.makeMenu('top1_2','','&nbsp;Other Funny Stuff','/funny/funny-stuff.php')
	oCMenu.makeMenu('sub1_21','top1_2','Funny Pictures','/funny/funny-pictures.php')	
	
	
//Leave this line - it constructs the menu
	oCMenu.construct()
