$(document).ready(function(){$('.slides').cycle({fx:'fade',speed:'slow',pager:'#portfolio-nav-pageset',timeout:5375,pause:1});$(".map_1_area").tooltip({tip:'#tool1',position:'bottom center',offset:[0,-5]});$(".map_1_2_area").tooltip({tip:'#tool1_2', relative: true, position:'bottom center',offset:[0,-5]});$(".map_2_area").tooltip({tip:'#tool2',position:'bottom center',offset:[0,-5]});$(".map_2_2_area").tooltip({tip:'#tool2_2', relative: true, position:'bottom center',offset:[0,-5]});$(".map_3_area").tooltip({tip:'#tool3',position:'bottom center',offset:[0,-5]});$(".map_3_2_area").tooltip({tip:'#tool3_2', relative: true, position:'bottom center',offset:[0,-5]});$(".map_4_area").tooltip({tip:'#tool4',position:'bottom center',offset:[0,-5]});$(".map_4_2_area").tooltip({tip:'#tool4_2', relative: true, position:'bottom center',offset:[0,-5]});$(".map_5_area").tooltip({tip:'#tool5',position:'bottom center',offset:[0,-5]});$(".map_5_2_area").tooltip({tip:'#tool5_2',position:'bottom center',offset:[0,-5]});$(".map_6_area").tooltip({tip:'#tool6',position:'bottom center',offset:[0,-5]});$(".map_6_2_area").tooltip({tip:'#tool6_2',position:'bottom center',offset:[0,-5]});$(".map_7_area").tooltip({tip:'#tool7',position:'bottom center',offset:[0,-5]});$(".map_7_2_area").tooltip({tip:'#tool7_2',position:'bottom center',offset:[0,-5]});$("#tool1").hover(function(){$(this).find('a').html('<img src="/images/dropdownshelf.png">');},function(){$(this).find('a').html("Dropdown Shelves");});$("#tool1_2").hover(function(){$(this).find('a').html('<img src="/images/flooring.png">');},function(){$(this).find('a').html("Protective Flooring");});$("#2tool").hover(function(){$(this).find('a').html('<img src="/images/narrowhook.png">');},function(){$(this).find('a').html("Narrow Hook");});$("#2_2tool").hover(function(){$(this).find('a').html('<img src="/images/flooring.png">');},function(){$(this).find('a').html("Protective Flooring");});$("#3tool").hover(function(){$(this).find('a').html('<img src="/images/monkeybar.png">');},function(){$(this).find('a').html("Monkeybar");});$("#tool3_2").hover(function(){$(this).find('a').html('<img src="/images/12hook.png">');},function(){$(this).find('a').html("12\" Hook");});$("#4tool").hover(function(){$(this).find('a').html('<img src="/images/shelf.png">');},function(){$(this).find('a').html("Portable Shelf");});$("#tool4_2").hover(function(){$(this).find('a').html('<img src="/images/bench.png">');},function(){$(this).find('a').html("Small Work Bench");});$("#tool5").hover(function(){$(this).find('a').html('<img src="/images/3double.png">');},function(){$(this).find('a').html("3\" Double Hook");});$("#tool5_2").hover(function(){$(this).find('a').html('<img src="/images/3wide.png">');},function(){$(this).find('a').html("3\" Wide Hook");});$("#6tool").hover(function(){$(this).find('a').html('<img src="/images/ballbag.png">');},function(){$(this).find('a').html("Sports Bag");});$("#6_2tool").hover(function(){$(this).find('a').html('<img src="/images/jhook.png">');},function(){$(this).find('a').html("J Hook");});$("#tool7").hover(function(){$(this).find('a').html('<img src="/images/24shelf.png">');},function(){$(this).find('a').html("24\" Shelf");});$("#tool7_2").hover(function(){$(this).find('a').html('<img src="/images/3single.png">');},function(){$(this).find('a').html("3\" Single");});triggers=$(".modal_gallery").overlay({expose:{maskId:"exposeMask",color:'#000'},closeOnClick:true,top:'22%',onBeforeClose:function(event){$(".alldone_gsvb").click();}});$(function(){$("ul.gal_tabs").tabs("div.gal_panes > div");});$("#vidgal").click(function(){$("ul.gal_tabs a:eq(1)").click();});$("#picgal").click(function(){$("ul.gal_tabs a:eq(0)").click();});$("#pic_tab").click(function(){$(".alldone_gsvb").click();});$('#pauseButton').toggle(function(){$('.slides').cycle('pause');$(this).attr({src:"/images/play.gif"});},function(){$('.slides').cycle('resume');$(this).attr({src:"/images/pause.gif"});});$("#block-menu-primary-links .menutitle").one('mouseenter',function(){if($(this).hasClass("collapsed")){$(this).find("a").click();}
$(this).find("a").bind('click',function(event){$(this).dblclick();});});});
