
var agt = navigator.userAgent.toLowerCase();
var versInt = parseInt(navigator.appVersion);
var is_ie	= ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
var is_ie3    = (is_ie && (versInt < 4));
var is_ie4    = (is_ie && (versInt == 4) && (agt.indexOf("msie 4")!=-1) );
var is_aol   = (agt.indexOf("aol") != -1);
var is_aol3  = (is_aol && is_ie3);
var is_aol4  = (is_aol && is_ie4);
var is_aol5  = (agt.indexOf("aol 5") != -1);
var is_aol6  = (agt.indexOf("aol 6") != -1);
var is_comp   = (agt.indexOf("compuserve") != -1);
var is_comp2000   = (agt.indexOf("cs") != -1);
var is_compie = (is_comp && is_ie);

function pro_goTo( url ) {
	window.location.href = url;
}

function pro_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#B5D1F4';
				break;
			default:
//				tableCellRef.style.backgroundColor = '#ccc';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#69c';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#69c';
				break;
			default:
//				tableCellRef.style.backgroundColor = '#ddd';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function pro_navBarClick( tableCellRef, navStyle, url ) {
	pro_navBar( tableCellRef, 0, navStyle );
	pro_goTo( url );
}

function Click( url ) {
	pro_goTo( url );
}

function tip1()
{
nieuwvenster = window.open ("http://www.kors-soft.com.ua/files/tip/tip1.htm", "tip1", "scrollbars=no,resizable=no,toolbar=no,directories=no,status=no,menubar=no,width=400,height=230")
}

function tip2()
{
nieuwvenster = window.open ("http://www.kors-soft.com.ua/files/tip/tip2.htm", "tip2", "scrollbars=no,resizable=no,toolbar=no,directories=no,status=no,menubar=no,width=400,height=250")
}

function tip3()
{
nieuwvenster = window.open ("http://www.kors-soft.com.ua/files/tip/tip3.htm", "tip3", "scrollbars=no,resizable=no,toolbar=no,directories=no,status=no,menubar=no,width=400,height=330")
}

function network_version()
{
nieuwvenster = window.open ("http://www.kors-soft.com.ua/order/network_version.htm", "network_version", "scrollbars=no,resizable=no,toolbar=no,directories=no,status=no,menubar=no,width=400,height=200")
}

function win()
        {
        subscribe=window.open("","subscribe","width=300,height=200,top=0,left=0,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no");
        document.clever_subscribe.submit();
        }
        
function subscribe_clear(clear) 
{
clear.value="";	
}
