function show_image_preview(url, title) {
	//myLightbox.startShowSingleImage(url, title);
Lightbox.show(url, title);
}

function show_image_array_preview(images, titles, current_index) {
//	myLightbox.startShowImages(images, titles, current_index);
Lightbox.show(images[0], titles[0]);
}

function select_product_at_index(index) {
	var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
	var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
	var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
	
	var flash;
	if (isIE) {
		flash = window["ParketCityViewer"];
	} else {
		flash = document["ParketCityViewer"];
	}
	flash.selectProductAtIndex(index);
}
