/* 
 * Current Version : 1.0.0 by Darren 2009-10-01 
 * General Mall Functions that are needed on every Mall page
 * 
 * */

 /* For the Holiday banners */
window.addEvent('domready', function() { $$('.holiday').addEvent('click', function() { var openButton = new Fx.Styles('box', {duration: 500, transition: Fx.Transitions.Expo.easeInOut}); openButton.start({ 'top': 0 }); return false; } ); if ( $('close_btn') ) { $('close_btn').addEvent('click', function(){ var closeButton = new Fx.Styles('box', {duration: 500, transition: Fx.Transitions.Expo.easeInOut}); closeButton.start({ 'top': -600 }); return false; });} } );

/* simple stop to loading frames */
function breakOut() { if (window != top) top.location.href = location.href; }

/* included in other MM libraries but not all the time, especially in checkout */
function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);}

/* low price guarantee */
function lpg () {
		window.open("/template/mall/lowprice_details.html","_blank","width=450px, height=150px,toolbar=no, location=no,top=0,left=0, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no");
		return false;
}