function ACIsend(name) {
	fenster = window.open(name,'Zielfenster','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=400,height=330,top=300,left=400');
	fenster.focus();
}	
function addCart(quantityId, price){
	form = document.aciCaddieForm;
	qty = document.getElementById('qty_'+quantityId);		
	
	document.getElementById('quantity').name = "quantity_"+quantityId;
	document.getElementById('quantity').value = qty.value;
	document.getElementById('price').name = "price_"+quantityId;
	document.getElementById('price').value = price;	
		
	form.submit();
}	

function CheckIsIE() { 
    if  (navigator.appName.toUpperCase() == 'MICROSOFT INTERNET EXPLORER')  { return true;} 
    else { return false; } 
} 


function PrintFrame() {   
	if (CheckIsIE() == true) {     
		document.aci_iframe.focus();         
		document.aci_iframe.print(); 
	}else{ 
		window.frames['aci_iframe'].focus(); 
		window.frames['aci_iframe'].print(); 
	} 
} 

function ACIprint(name) {
	var frm = document.frames;
	if(frm.length > 0){
		PrintFrame();
	}else{
		fenster = window.open(name,'Zielfenster','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=680,height=550,top=150,left=200');
		fenster.focus();
	}
}

	
startList = function() {
	if (document.all&&document.getElementById) {
		lis = document.getElementsByTagName("LI");
		
		for (i=0; i<lis.length; i++) {
			node = lis[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+="_over";
			 	}					 	
			  	node.onmouseout=function() {
			  		this.className=this.className.replace("_over", "");
			   	}
			}
		 }//end for
	 }
}

	
//-- Begin Scroller's Parameters and message -->
//scroller width: change to your own;
var wwidth=550;

//scroller height: change to your own;
var wheight=20;

//background color: change to your own; 
var wbcolor="#ffffff";

//scroller's speed: change to your own;
var sspeed=1;
var restart=sspeed;
var rspeed=sspeed;

//-- begin: Scroller's Algorithm -->
var sizeupw=0;var operbr=navigator.userAgent.toLowerCase().indexOf('opera');
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function startw(){ if( typeof  tickerEnabled == 'undefined')return; if(document.all) iemarqueew(wslider);else if(document.getElementById)ns6marqueew(document.getElementById('wslider'));else if(document.layers)ns4marqueew(document.wslider1.document.wslider2);}
function iemarqueew(whichdiv){iedivw=eval(whichdiv);iedivw.style.pixelLeft=wwidth;iedivw.innerHTML='<nobr>'+wwholemessage+'</nobr>';sizeupw=iedivw.offsetWidth;if(operbr!=-1){operaslider.innerHTML='<nobr>'+wwholemessage+'</nobr>';sizeupw=operaslider.offsetWidth;}ieslidew();}
function ieslidew(){if(iedivw.style.pixelLeft>=sizeupw*(-1)){iedivw.style.pixelLeft-=sspeed;setTimeout("ieslidew()",18);}else{iedivw.style.pixelLeft=wwidth;ieslidew();}}
function ns4marqueew(whichlayer){ns4layerw=eval(whichlayer);ns4layerw.left=wwidth;ns4layerw.document.write('<nobr>'+wwholemessage+'</nobr>');ns4layerw.document.close();sizeupw=ns4layerw.document.width;ns4slidew();}
function ns4slidew(){if(ns4layerw.left>=sizeupw*(-1)){ns4layerw.left-=sspeed;setTimeout("ns4slidew()",18);}else{ns4layerw.left=wwidth;ns4slidew();}}
function ns6marqueew(whichdiv){ns6divw=eval(whichdiv);ns6divw.style.left=wwidth;ns6divw.innerHTML='<nobr>'+wwholemessage+'</nobr>';sizeupw=ns6divw.offsetWidth;ns6slidew();}
function ns6slidew(){if(parseInt(ns6divw.style.left)>=sizeupw*(-1)){ns6divw.style.left=parseInt(ns6divw.style.left)-sspeed;setTimeout("ns6slidew()",18);}else{ns6divw.style.left=wwidth;ns6slidew();}}
//-- end Algorithm -->

function doOnload(){
	startList();
	startw();
}
