//  jquery core

jQuery(document).ready(function(){
	
	jQuery('#rotator_left').cycle({ 
		fx:    'fade', 
		timeout:       5000, 
		pause:  0,
		next:   '#rotator-nav-right', 
		prev:   '#rotator-nav-left' 
	});
	
	jQuery('#quotate').cycle({ 
		fx:    'fade', 
		timeout:       6000, 
		random: 1,
		pause:  0 
	});
	
	// handles showing the form
	jQuery("#show_form").click(function(){
		jQuery("#checkout_form").show();
	});
	
jQuery('#newsticker').cycle({ timeout: 3000, cleartype: 1, speed: 4000 });

});

function OpenPopup(URL, width, height) {
	window.self.name = "main";
		var remote = window.open(URL, "popup", "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,resizable=1,status=0,menubar=0,scrollbars=1");
}


