/* JavaScript for Antec-Online Products */
/* Author: Andi Kuhn, eMail: a.kuhn@andi.com */
/* Version: 01, date: 01-09-12 */

// detect uncapable browsers:
agent = navigator.userAgent
browserVer = 2
if (agent.indexOf("a/4",6) == 6) browserVer = 1
else {
	if (agent.indexOf("a/3",6) == -1) browserVer = 2
	else browserVer = 1
}
// defined later, needed to show big picture of product
product_number = ""

// executed when page is loaded:
function initiate(){
}

// open new window with big picture of product:
function show_big_picture(product_number_to_show){
	Link = "/zoom.php?pic="+product_number_to_show;
	window_big_picture = window.open(Link,"Zoom","width=600,height=460");
	window_big_picture.moveTo(50,50);
}


