zoom_zoomshowfuncs = 'realZOOM_OnShow();';
zoom_zoomhidefuncs = 'realZOOM_OnHide();';

// Hides or Shows a drop down
function realZOOM_ToggleDD(ddid, onoroff) {
	// Get the pointer to the drop down
	var curpnt = PS.GP(ddid);

	// If this drop down doesn't exist, exit
	if (!curpnt)
		return;

	// Hide or show it
	PS.SetStyle(curpnt, 'visibility', onoroff ? 'inherit' : 'hidden');
} // realZOOM_ToggleDD

// This is called when realZOOM appears
function realZOOM_OnShow() {
	// If we're not in IE5 or IE6 or we're on the Mac, exit
	if (!PS.UA.IE || PS.UA.IE > 6 || PS.UA.OSMac)
		return;

	// Hide the drop downs
	realZOOM_ToggleDD('ProductSizes', 0);
	realZOOM_ToggleDD('ProductColors', 0);
	realZOOM_ToggleDD('quantity', 0);
} // realZOOM_OnShow

// This is called when realZOOM disappears
function realZOOM_OnHide() {
	// If we're not in IE5 or IE6 or we're on the Mac, exit
	if (!PS.UA.IE || PS.UA.IE > 6 || PS.UA.OSMac)
		return;

	// Show the drop downs
	realZOOM_ToggleDD('ProductSizes', 1);
	realZOOM_ToggleDD('ProductColors', 1);
	realZOOM_ToggleDD('quantity', 1);
} // realZOOM_OnHide
