/* Copyright 2008 vbStartup.com. May not be used or redistributed without express consent of vbStartup.com */YAHOO.util.Event.onDOMReady(function(){	var anim = new YAHOO.util.Anim('logolink', {opacity: {from: 0, to: 1}}).animate();	if (!is_ie) {var da_width = parseInt(YAHOO.util.Dom.getStyle('navi','width'));	var anim = new YAHOO.util.Anim('navi', {width: {from: 0, to: da_width}, opacity: {from: 0, to: 1}}, 1, YAHOO.util.Easing.easeBoth).animate();	}	var elements = YAHOO.util.Selector.query('div.vbmenu_popup td.vbmenu_option a');	for (var i = elements.length; i--;) {		(function(){			var fx = new YAHOO.util.Anim(elements[i], {marginLeft: {from: 0, to: 10}}, 0.05);			YAHOO.util.Event.addListener(elements[i], "mouseover", function(){				fx.stop();				fx.attributes.marginLeft.to = 6;				fx.animate();			});			YAHOO.util.Event.addListener(elements[i], "mouseout", function(){				fx.stop();				fx.attributes.marginLeft.to = 0;				fx.animate();			});		})();	}	});var JK = {};JK.effectCache = {};if (!is_moz) {} else {toggle_collapse = function(objid) {	if (!is_regexp) return false;	var obj = YAHOO.util.Dom.get('collapseobj_' + objid);	var img = YAHOO.util.Dom.get('collapseimg_' + objid);	var cel = YAHOO.util.Dom.get('collapsecel_' + objid);	if (!obj) { // nothing to collapse!		if (img) img.style.display = 'none'; // hide the clicky image if there is one		return false;	}	obj.style.overflow = 'hidden';	if (JK.effectCache[objid]) {		var anims = JK.effectCache[objid];	} else {		var anims = JK.effectCache[objid] = {			open: new YAHOO.util.Anim(obj, {height: {from: 0}}, .5, YAHOO.util.Easing.easeBoth),			close: new YAHOO.util.Anim(obj, {height: {to: 0}}, .5, YAHOO.util.Easing.easeBoth)		};		anims.open.onStart.subscribe(function(){			obj.style.height = '0px';			obj.style.display = '';			anims.open.attributes.height.to = obj.scrollHeight;		});		anims.close.onComplete.subscribe(function(){			obj.style.display = 'none';		});	}	if (obj.style.display == 'none') {		JK.effectCache[objid].open.animate();		save_collapsed(objid, false);		if (img) img.src = img.src.replace(/_collapsed\.gif$/, '.gif');		if (cel) cel.className = cel.className.replace(/^(thead|tcat)(_collapsed)$/, '$1');	} else {		JK.effectCache[objid].close.animate();		save_collapsed(objid, true);		if (img) img.src = img.src.replace(/\.gif$/, '_collapsed.gif');		if (cel) cel.className = cel.className.replace(/^(thead|tcat)$/, '$1_collapsed');	}	return false;}}