	function swap_photo(file) {		var image = document.getElementById('product_photo');	image.src = file;	return false;}											// add_sale_price :// for yahoo stores only. if a sale price exists for the product,// changes the formatting for the original price and a formatted// sale price																						// requires <div id="price_module"> around // the <p id="product_price"> tag// requires the following css classes:// .price_list  (crosses out and/or de-emphasizes original product price)// .price_sale  (formats the new sale price)// call this function inline with the HTML,// right after the price_module <div>function add_sale_price(yahoo_sale_price) {		// text to put in front of sale price	var sale_text = "SALE ";		if (yahoo_sale_price > 0) {				// change formatting for original product price		// (price gets crossed out and/or changed in color)		var original_price = document.getElementById('product_price');		original_price.className = 'price_list';				// create a new <p> node containing the sale price info and 		// append it to the price_module <div>		var price_module = document.getElementById('price_module');		var p = document.createElement('p');		p.className = 'price_sale';		var new_text = sale_text + '$' + yahoo_sale_price;		var txt = document.createTextNode(new_text);		p.appendChild(txt);		price_module.appendChild(p);	}}// note that element to be centered has to be called// "main" in order for following handle to work//window.onresize = handleResize;// this stores currently active menu buttonvar activeId = "";