function Is(){
var agent		= navigator.userAgent.toLowerCase();
this.major		= parseInt(navigator.appVersion);
this.minor		= parseFloat(navigator.appVersion);
this.dom		= document.getElementById?1:0;
this.k			= (agent.indexOf('konqueror') != -1);
this.ko			= (this.k && Number(agent.substring(agent.indexOf('konqueror') + 10,agent.indexOf('konqueror') + 13)) > 3);
this.ns			= ((agent.indexOf('mozilla') != -1) && ((agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1)));
this.ns0		= (this.ns && this.major < 5);
this.ns5		= (this.dom && this.ns && this.major == 5);
this.ff			= (agent.indexOf('firefox') != -1);
this.ff3		= (agent.indexOf('firefox/3.') != -1);
this.safari		= (agent.indexOf('safari') != -1);
this.ie			= (agent.indexOf('msie') != -1);
this.ie0		= (this.ie && agent.indexOf('msie 5') == -1 && agent.indexOf('msie 6') == -1 && agent.indexOf('msie 7') == -1);
this.ie5		= (this.ie && agent.indexOf('msie 5') != -1);
this.ie6		= (this.ie && agent.indexOf('msie 6') != -1);
this.ie7		= (this.ie && agent.indexOf('msie 7') != -1);
this.ie8		= (this.ie && agent.indexOf('msie 8') != -1);
this.o			= (agent.indexOf('opera') != -1);
this.op			= (this.o && Number(agent.substring(agent.indexOf('opera') + 6,agent.indexOf('opera') + 9)) > 7);
this.mac		= (agent.indexOf('mac') != -1 || agent.indexOf('macppc') != -1 || agent.indexOf('mac_powerpc') != -1);
this.badmacie	= (this.mac && this.ie);
this.en			= ((this.safari || this.ns5  || this.ie8 || this.ie7 || this.ie6 || this.ie5 || this.op) && !this.badmacie);
}
var is = new Is();

if(is.ie && !is.ie7 && !is.ie8){document.write('<link rel="stylesheet" type="text/css" href="/cc_sys/stylesheet_store_1_ie.css" />')}
if(is.ie7 || is.ie8){document.write('<link rel="stylesheet" type="text/css" href="/cc_sys/stylesheet_store_1_ie7.css" />')}
if(is.ns){document.write('<link rel="stylesheet" type="text/css" href="/cc_sys/stylesheet_store_1_ns.css" />')}
if(is.op){document.write('<link rel="stylesheet" type="text/css" href="/cc_sys/stylesheet_store_1_op.css" />')}

var selected;
var submitter = null;

function box(el){
return document.getElementById(el);
}

function submitFunction(){
submitter = 1;
}

function kosh(){
vorlon = document.getElementsByTagName('a');
minbar = /\bpopupWindow\b|\bpopupImageWindow\b/i;
for(i = 0 ; i < vorlon.length ; i++){
	if(vorlon[i].getAttribute('target') && vorlon[i].getAttribute('onclick')){
		if(minbar.test(vorlon[i].getAttribute('onclick'))){
			vorlon[i].removeAttribute('href');
			vorlon[i].removeAttribute('target');
			vorlon[i].style.cursor = 'pointer';
			}
		}
	}
if(box('callyZu')){
	storeForm('showButton');
	}
}

function popupWindow(url,breit,hoch){
window.open(url,'popupWindow' + String(Math.random()).slice(2,6),'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=' + breit + ',height=' + hoch + ',screenX=24,screenY=36,top=24,left=36');
}  

function popupImageWindow(url,breit,hoch){
if(parseInt(breit) < 480){
	 breit = 480;
	 }
window.open(url,'popupImageWindow' + String(Math.random()).slice(2,6),'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=' + (parseInt(breit) + 52) + ',height=' + (parseInt(hoch) + 73) + ',screenX=24,screenY=36,top=24,left=36');
}

window.onload = function(){kosh();};
