function popSignup(url){	newwindow=window.open(url,'Detail','height=160,width=355,top=30,left=50');	if (window.focus) {newwindow.focus()}	return false;}// jquery code to handle image rollovers and clicks// in image gridsvar current_product_filename;var current_product_title;$(document).ready(function(){		// fix png images for IE6 browsers	if ($.browser.msie) {		fix_all_png();	}		// preload all large images and titles	var preload = new Object();		$('.thumbnail img').each(function(i) {		var filename;		thumbnail_filename = $(this).attr("src");		large_image_filename = thumbnail_filename.replace('_sm', '');		title_image_filename = thumbnail_filename.replace('_sm', '_title');		preload['large' + i] = new Image;		preload['large' + i].src = large_image_filename;		preload['title' + i] = new Image;		preload['title' + i].src = title_image_filename;	});		// swap out large photo and title underneath it when a thumbnail is clicked	$('.thumbnail img').click(function(event) {		var filename;		thumbnail_filename = $(this).attr("src");		current_product_filename = thumbnail_filename.replace('_sm', '');		current_product_title = thumbnail_filename.replace('_sm', '_title');		$('#product_large_image').attr("src", current_product_filename);		$('#product_title_image').attr("src", current_product_title);	});		// provide a photo zoom when large photo is clicked	// (toggle this)	$('body.wedding #product_grid_photo img').click(function(event) {		var main_filename;		main_filename = $(this).attr("src");				if (main_filename.search(/_large/i) >= 0) {			current_product_filename = main_filename.replace('_large.jpg', '.jpg');			$(this).attr("src", current_product_filename);		}		else {			current_product_filename = main_filename.replace('.jpg', '_large.jpg');			$(this).attr("src", current_product_filename);		}	});		// as user hovers over thumbnails, swap out large photo and title, but	// return to original state on mouseout	$('.thumbnail img').hover(		function(event) {			var filename;			// save original photo name and title			current_product_filename = $('#product_large_image').attr("src");			current_product_title = $('#product_title_image').attr("src");						// swap out photo			thumbnail_filename = $(this).attr("src");			large_filename = thumbnail_filename.replace('_sm', '');			title_filename = thumbnail_filename.replace('_sm', '_title');			$('#product_large_image').attr("src", large_filename);			$('#product_title_image').attr("src", title_filename);		},		function(event) {			// return photo and title to their original state			$('#product_large_image').attr("src", current_product_filename);			$('#product_title_image').attr("src", current_product_title);	});	});function fix_all_png() {			// Fix background images on all A elements,	// all header elements, and all TD elements	$("a, h1, h2, h3, h4, h5, h6, table td").pngfix();		// Fix all inline PNG images with the custom sizingMethod of "scale"	$("img[@src$=png]").pngfix({		sizingMethod: "scale"	});		// $.miseAlphaImageLoader("sdsd");	};