
//Contents for menu 1
var art_crafts = new Array()
art_crafts[0]='<a href="/coupon-categories/category.php?id=20">Clipart</a>'
art_crafts[1]='<a href="/coupon-categories/category.php?id=21">Posters</a>'
art_crafts[2]='<a href="/coupon-categories/category.php?id=22">Framed Art</a>'
art_crafts[3]='<a href="/coupon-categories/category.php?id=23">Artist Supplies</a>'
art_crafts[4]='<a href="/coupon-categories/category.php?id=24">Crafts</a>'
art_crafts[5]='<a href="/coupon-categories/category.php?id=25">Beads</a>'
art_crafts[6]='<a href="/coupon-categories/category.php?id=26">Scrapbooking</a>'

var baby_goods=new Array()
baby_goods[0]='<a href="/coupon-categories/category.php?id=27">Clothing</a>'
baby_goods[1]='<a href="/coupon-categories/category.php?id=28">Furniture</a>'
baby_goods[2]='<a href="/coupon-categories/category.php?id=29">Toys</a>'
		
var books_magazines=new Array()
books_magazines[0]='<a href="/coupon-categories/category.php?id=30">Books</a>'
books_magazines[1]='<a href="/coupon-categories/category.php?id=31">Magazines</a>'
books_magazines[2]='<a href="/coupon-categories/category.php?id=32">Audio Books</a>'
books_magazines[3]='<a href="/coupon-categories/category.php?id=33">Ebooks</a>'
books_magazines[4]='<a href="/coupon-categories/category.php?id=34">Textbooks</a>'
books_magazines[5]='<a href="/coupon-categories/category.php?id=35">Christian</a>'
books_magazines[6]='<a href="/coupon-categories/category.php?id=36">Newspapers</a>'

var business_industrial=new Array()
business_industrial[0]='<a href="/coupon-categories/category.php?id=37">Supplies</a>'
business_industrial[1]='<a href="/coupon-categories/category.php?id=38">Furniture</a>'
business_industrial[2]='<a href="/coupon-categories/category.php?id=39">Telephony</a>'
business_industrial[3]='<a href="/coupon-categories/category.php?id=40">Technology</a>'
business_industrial[4]='<a href="/coupon-categories/category.php?id=41">Accessories</a>'
business_industrial[5]='<a href="/coupon-categories/category.php?id=42">Software</a>'
business_industrial[6]='<a href="/coupon-categories/category.php?id=43">Industrial</a>'
business_industrial[7]='<a href="/coupon-categories/category.php?id=44">Jobs</a>'
business_industrial[8]='<a href="/coupon-categories/category.php?id=45">Marketing</a>'
business_industrial[9]='<a href="/coupon-categories/category.php?id=46">Stationary</a>'
business_industrial[10]='<a href="/coupon-categories/category.php?id=47">Web Hosting</a>'
business_industrial[11]='<a href="/coupon-categories/category.php?id=48">Web Services</a>'

var cameras_photo=new Array()
cameras_photo[0]='<a href="/coupon-categories/category.php?id=55">Gifts</a>'
cameras_photo[1]='<a href="/coupon-categories/category.php?id=54">Online Photos</a>'
cameras_photo[2]='<a href="/coupon-categories/category.php?id=53">Cameras</a>'

var clothing_shoes=new Array()
clothing_shoes[0]='<a href="/coupon-categories/category.php?id=56">Womens Clothing</a>'
clothing_shoes[1]='<a href="/coupon-categories/category.php?id=57">Mens Clothing</a>'
clothing_shoes[2]='<a href="/coupon-categories/category.php?id=58">Childrens Clothing</a>'
clothing_shoes[3]='<a href="/coupon-categories/category.php?id=59">Shoes</a>'
clothing_shoes[4]='<a href="/coupon-categories/category.php?id=60">Underwear & Lingerie</a>'
clothing_shoes[5]='<a href="/coupon-categories/category.php?id=61">Hats</a>'
clothing_shoes[6]='<a href="/coupon-categories/category.php?id=62">Sunglasses</a>'
clothing_shoes[7]='<a href="/coupon-categories/category.php?id=63">Ties</a>'
clothing_shoes[8]='<a href="/coupon-categories/category.php?id=148">Apparel</a>'

var computers_electronics=new Array()
computers_electronics[0]='<a href="/coupon-categories/category.php?id=64">Computers</a>'
computers_electronics[1]='<a href="/coupon-categories/category.php?id=65">Printers & Ink</a>'
computers_electronics[2]='<a href="/coupon-categories/category.php?id=66">Memory</a>'
computers_electronics[3]='<a href="/coupon-categories/category.php?id=67">Media</a>'
computers_electronics[4]='<a href="/coupon-categories/category.php?id=68">Televisions</a>'
computers_electronics[5]='<a href="/coupon-categories/category.php?id=69">Home Entertainment</a>'
computers_electronics[6]='<a href="/coupon-categories/category.php?id=70">Accessories</a>'
computers_electronics[7]='<a href="/coupon-categories/category.php?id=71">Cell Phones & Accessories</a>'
computers_electronics[8]='<a href="/coupon-categories/category.php?id=72">Satellite</a>'

var food_beverage=new Array()
food_beverage[0]='<a href="/coupon-categories/category.php?id=76">Wine</a>'
food_beverage[1]='<a href="/coupon-categories/category.php?id=77">Beer</a>'
food_beverage[2]='<a href="/coupon-categories/category.php?id=78">Accessories</a>'
food_beverage[3]='<a href="/coupon-categories/category.php?id=79">Meals</a>'
food_beverage[4]='<a href="/coupon-categories/category.php?id=80">Gift Baskets</a>'
food_beverage[5]='<a href="/coupon-categories/category.php?id=81">Snacks & Desserts</a>'
food_beverage[6]='<a href="/coupon-categories/category.php?id=82">Grocery</a>'
food_beverage[7]='<a href="/coupon-categories/category.php?id=83">Fruit</a>'

var health_beauty=new Array()
health_beauty[0]='<a href="/coupon-categories/category.php?id=84">Healthcare & Mobility</a>'
health_beauty[1]='<a href="/coupon-categories/category.php?id=85">Pharmacy</a>'
health_beauty[2]='<a href="/coupon-categories/category.php?id=86">Dental</a>'
health_beauty[3]='<a href="/coupon-categories/category.php?id=87">Wellness</a>'
health_beauty[4]='<a href="/coupon-categories/category.php?id=88">Vitamins</a>'
health_beauty[5]='<a href="/coupon-categories/category.php?id=89">Skincare</a>'
health_beauty[6]='<a href="/coupon-categories/category.php?id=90">Eyecare</a>'
health_beauty[7]='<a href="/coupon-categories/category.php?id=91">Makeup</a>'
health_beauty[8]='<a href="/coupon-categories/category.php?id=92">Fragrances</a>'
health_beauty[9]='<a href="/coupon-categories/category.php?id=93">Dating</a>'
health_beauty[10]='<a href="/coupon-categories/category.php?id=94">Dieting</a>'

var home_garden=new Array()
home_garden[0]='<a href="/coupon-categories/category.php?id=95">Furniture</a>'
home_garden[1]='<a href="/coupon-categories/category.php?id=96">Rugs</a>'
home_garden[2]='<a href="/coupon-categories/category.php?id=97">Flooring</a>'
home_garden[3]='<a href="/coupon-categories/category.php?id=98">Decor</a>'
home_garden[4]='<a href="/coupon-categories/category.php?id=99">Garden</a>'
home_garden[5]='<a href="/coupon-categories/category.php?id=100">Improvement</a>'
home_garden[6]='<a href="/coupon-categories/category.php?id=101">Security</a>'
home_garden[7]='<a href="/coupon-categories/category.php?id=102">Bedding</a>'
home_garden[8]='<a href="/coupon-categories/category.php?id=103">Bath</a>'
home_garden[9]='<a href="/coupon-categories/category.php?id=104">Window Treatments</a>'
home_garden[10]='<a href="/coupon-categories/category.php?id=105">Storage</a>'
home_garden[11]='<a href="/coupon-categories/category.php?id=106">Candles</a>'
home_garden[12]='<a href="/coupon-categories/category.php?id=107">Grilling</a>'
home_garden[13]='<a href="/coupon-categories/category.php?id=108">Dining</a>'
home_garden[14]='<a href="/coupon-categories/category.php?id=109">Lighting</a>'
home_garden[15]='<a href="/coupon-categories/category.php?id=110">Cooking</a>'
home_garden[16]='<a href="/coupon-categories/category.php?id=111">Appliances</a>'

var jewelry_watches=new Array()
jewelry_watches[0]='<a href="/coupon-categories/category.php?id=113">Jewelry</a>'
jewelry_watches[1]='<a href="/coupon-categories/category.php?id=114">Watches</a>'

var money_finance=new Array()
money_finance[0]='<a href="/coupon-categories/category.php?id=115">Real Estate</a>'
money_finance[1]='<a href="/coupon-categories/category.php?id=116">Loans</a>'
money_finance[2]='<a href="/coupon-categories/category.php?id=117">Insurance</a>'
money_finance[3]='<a href="/coupon-categories/category.php?id=118">Investments</a>'
money_finance[4]='<a href="/coupon-categories/category.php?id=119">Credit Report & Repair</a>'
money_finance[5]='<a href="/coupon-categories/category.php?id=120">Credit Cards</a>'
money_finance[6]='<a href="/coupon-categories/category.php?id=121">Taxes</a>'

var music_movies=new Array()
music_movies[0]='<a href="/coupon-categories/category.php?id=122">Digital Music</a>'
music_movies[1]='<a href="/coupon-categories/category.php?id=123">Music</a>'
music_movies[2]='<a href="/coupon-categories/category.php?id=124">Movies</a>'

var pets=new Array()
pets[0]='<a href="/coupon-categories/category.php?id=125">Pharmacy</a>'
pets[1]='<a href="/coupon-categories/category.php?id=126">Food</a>'
pets[2]='<a href="/coupon-categories/category.php?id=127">Toys & Accessories</a>'

var sports=new Array()
sports[0]='<a href="/coupon-categories/category.php?id=128">Fan Apparel</a>'
sports[1]='<a href="/coupon-categories/category.php?id=129">Clothing</a>'
sports[2]='<a href="/coupon-categories/category.php?id=130">Baseball</a>'
sports[3]='<a href="/coupon-categories/category.php?id=131">College</a>'
sports[4]='<a href="/coupon-categories/category.php?id=132">Football</a>'
sports[5]='<a href="/coupon-categories/category.php?id=133">Golf</a>'
sports[6]='<a href="/coupon-categories/category.php?id=134">Hockey</a>'
sports[7]='<a href="/coupon-categories/category.php?id=135">Soccer</a>'
sports[8]='<a href="/coupon-categories/category.php?id=136">Winter Sports</a>'
sports[9]='<a href="/coupon-categories/category.php?id=137">Watersports</a>'
sports[10]='<a href="/coupon-categories/category.php?id=138">Camping & Hiking</a>'
sports[11]='<a href="/coupon-categories/category.php?id=139">Hunting & Outdoors</a>'
sports[12]='<a href="/coupon-categories/category.php?id=140">Skating</a>'
sports[13]='<a href="/coupon-categories/category.php?id=141">Biking</a>'
sports[14]='<a href="/coupon-categories/category.php?id=142">Paintball</a>'
sports[15]='<a href="/coupon-categories/category.php?id=143">Optics</a>'
sports[16]='<a href="/coupon-categories/category.php?id=144">Gear</a>'

var tools_automotive=new Array()
tools_automotive[0]='<a href="/coupon-categories/category.php?id=145">Automotive</a>'
tools_automotive[1]='<a href="/coupon-categories/category.php?id=146">Bike</a>'
tools_automotive[2]='<a href="/coupon-categories/category.php?id=148">Toys</a>'

var toys_hobbies=new Array()
toys_hobbies[0]='<a href="/coupon-categories/category.php?id=149">Toys</a>'
toys_hobbies[1]='<a href="/coupon-categories/category.php?id=150">Hobbies</a>'

var travel=new Array()
travel[0]='<a href="/coupon-categories/category.php?id=151">Cruises</a>'
travel[1]='<a href="/coupon-categories/category.php?id=152">Travel Booking</a>'
travel[2]='<a href="/coupon-categories/category.php?id=153">Hotels</a>'
travel[3]='<a href="/coupon-categories/category.php?id=154">Air</a>'
travel[4]='<a href="/coupon-categories/category.php?id=155">Resorts</a>'
travel[5]='<a href="/coupon-categories/category.php?id=156">Rail</a>'
travel[6]='<a href="/coupon-categories/category.php?id=157">Tickets</a>'
travel[7]='<a href="/coupon-categories/category.php?id=158">Car</a>'
travel[8]='<a href="/coupon-categories/category.php?id=159">Luggage</a>'
travel[9]='<a href="/coupon-categories/category.php?id=160">Dining</a>'

var everything_else=new Array()
everything_else[0]='<a href="/coupon-categories/category.php?id=73">Everything Else</a>'
everything_else[1]='<a href="/coupon-categories/category.php?id=74">Gifts</a>'
everything_else[2]='<a href="/coupon-categories/category.php?id=75">Flowers</a>'
everything_else[3]='<a href="/coupon-categories/category.php?id=161">Seasonal</a>'


var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" 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-3 : totaloffset+parentEl.offsetTop-1;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
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-obj.offsetWidth < 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 menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
obj.bgColor='#FF9900'
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")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"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)
}
