function fix_flash_ie(){
	var objects = document.getElementsByTagName("object");
	for (var i=0; i<objects.length; i++){
	objects[i].outerHTML = objects[i].outerHTML;
	}
	return true;
}
function showflash(flashHREF, picWidth, picHeight, count) {
var url='previewflash.html?' + flashHREF + '&' + picWidth + '&' + picHeight;
var win='toolbar=0,location=0,status=0,menubar=0,directories=0,resizable=0,scrollbars=0,target=_new';
w=picWidth + 2;
h=picHeight + 26;
var sizedwin=win + ',width=' + w + ',height=' + h;
	if(window == 'multiple') {
		var windowname = 'Image_Window_' + count;
		open(url, windowname, sizedwin);
	}
	else {
		var windowname = 'Image_Window';
		popup = open(url, windowname, sizedwin);
		popup.focus();
	}
return false;
}
function show(imageHREF, picWidth, picHeight, count) {
var url='previewshow.html?' + imageHREF + '&' + picWidth + '&' + picHeight;
var win='toolbar=0,location=0,status=0,menubar=0,directories=0,resizable=0,scrollbars=0,target=_new';
w=picWidth;
h=picHeight;
var sizedwin=win + ',width=' + w + ',height=' + h;
	if(window == 'multiple') {
	var windowname = 'Image_Window_' + count;
	open(url, windowname, sizedwin);
	}
	else {
	var windowname = 'Image_Window';
	popup = open(url, windowname, sizedwin);
	popup.focus();
	}
return false;
}