function roll_over(img_name, img_src) { document[img_name].src = img_src; }

function ddlistmenu(a,b){var c=document.createElement("ul");if(a)c.id=a;if(b)c.className=b;this.menu=c}jQuery.noConflict();var flexdropdownmenu={arrowpath:"/Styles/arrow.gif",animspeed:200,showhidedelay:[150,150],startzindex:1e3,builtflexmenuids:[],positionul:function(a,b,c,d){var e=b.hasClass("jqflexmenu");var f=a(document).scrollLeft()+a(window).width()-40;var g=a(document).scrollTop()+a(window).height()-40;if(e){var h=d.offset();var i=d.data("setting");var j=h.left+i.useroffsets[0]+(i.dir=="h"?d.outerWidth():0);var k=h.top+i.useroffsets[1]+(i.dir=="h"?0:d.outerHeight());j=j+b.data("dimensions").w>f?j-i.useroffsets[0]*2-b.data("dimensions").w+d.outerWidth()+(i.dir=="h"?-(d.outerWidth()*2):0):j;k=k+b.data("dimensions").h>g?k-i.useroffsets[1]*2-b.data("dimensions").h-d.outerHeight()+(i.dir=="h"?d.outerHeight()*2:0):k}else{var l=b.data("$parentliref");var m=l.offset();var j=b.data("dimensions").parentliw;var k=0;j=m.left+j+b.data("dimensions").w>f?j-b.data("dimensions").parentliw-b.data("dimensions").w:j;k=m.top+b.data("dimensions").h>g?k-b.data("dimensions").h+b.data("dimensions").parentlih:k}b.css({left:j,top:k})},showbox:function(a,b,c){clearTimeout(b.data("timers").hidetimer);b.data("timers").showtimer=setTimeout(function(){b.show(flexdropdownmenu.animspeed)},this.showhidedelay[0])},hidebox:function(a,b){clearTimeout(b.data("timers").showtimer);b.data("timers").hidetimer=setTimeout(function(){b.hide(100)},this.showhidedelay[1])},buildflexmenu:function(a,b,c){b.css({display:"block",visibility:"hidden",zIndex:this.startzindex}).addClass("jqflexmenu").appendTo(document.body);b.bind("mouseenter",function(){clearTimeout(b.data("timers").hidetimer)});b.bind("mouseleave",function(){flexdropdownmenu.hidebox(a,b)});b.data("dimensions",{w:b.outerWidth(),h:b.outerHeight()});b.data("timers",{});var d=b.find("ul").parent();d.each(function(b){var c=a(this).css({zIndex:1e3+b});var d=c.find("ul:eq(0)").css({display:"block"});d.data("dimensions",{w:d.outerWidth(),h:d.outerHeight(),parentliw:this.offsetWidth,parentlih:this.offsetHeight});d.data("$parentliref",c);d.data("timers",{});c.data("$subulref",d);c.children("a:eq(0)").append('<img src="'+flexdropdownmenu.arrowpath+'" class="rightarrowclass" style="border:0;" />');c.bind("mouseenter",function(b){var c=a(this).css("zIndex",++flexdropdownmenu.startzindex).addClass("selected").data("$subulref");if(c.queue().length<=1){clearTimeout(c.data("timers").hidetimer);c.data("timers").showtimer=setTimeout(function(){flexdropdownmenu.positionul(a,c,b);c.show(flexdropdownmenu.animspeed)},flexdropdownmenu.showhidedelay[0])}});c.bind("mouseleave",function(b){var c=a(this).data("$subulref");clearTimeout(c.data("timers").showtimer);c.data("timers").hidetimer=setTimeout(function(){c.hide(100).data("$parentliref").removeClass("selected")},flexdropdownmenu.showhidedelay[1])})});b.find("ul").andSelf().css({display:"none",visibility:"visible"});this.builtflexmenuids.push(b.get(0).id)},init:function(a,b,c){if(this.builtflexmenuids.length==0){a(document).bind("click",function(b){if(b.button==0){a(".jqflexmenu").find("ul").andSelf().hide()}})}if(jQuery.inArray(c.get(0).id,this.builtflexmenuids)==-1)this.buildflexmenu(a,c,b);if(b.parents().filter("ul.jqflexmenu").length>0)return;var d=b.attr("data-offsets")?b.attr("data-offsets").split(","):[0,0];d=[parseInt(d[0]),parseInt(d[1])];b.data("setting",{dir:b.attr("data-dir"),useroffsets:d});b.bind("mouseenter",function(d){c.css("zIndex",++flexdropdownmenu.startzindex);flexdropdownmenu.positionul(a,c,d,b);flexdropdownmenu.showbox(a,c,d)});b.bind("mouseleave",function(b){flexdropdownmenu.hidebox(a,c)})}};jQuery.fn.addflexmenu=function(a,b){var c=jQuery;return this.each(function(){var d=c(this);if(typeof b=="object"){if(b.dir)d.attr("data-dir",b.dir);if(b.offsets)d.attr("data-offsets",b.offsets)}if(c("#"+a).length==1)flexdropdownmenu.init(c,d,c("#"+a))})};jQuery(document).ready(function(a){var b=a("*[data-flexmenu]");b.each(function(){a(this).addflexmenu(this.getAttribute("data-flexmenu"))})});ddlistmenu.prototype={addItem:function(a,b,c){var d=document.createElement("li");d.innerHTML='<a href="'+a+'" target="'+c+'">'+b+"</a>";this.menu.appendChild(d);this.li=d;return this},addSubMenu:function(){var a=new ddlistmenu(null,null);this.li.appendChild(a.menu);return a}}
