function NoError (){
return (true);
}
onError = NoError;

if (window.parent.frames.length == 0) {
location.href="index.html";
}

function docOpen(docURL,Targ,docWidth,docHeight) {
newWin=window.open(docURL,Targ,'width='+parseInt(docWidth)+',height='+parseInt(docHeight)+'location=no,toolbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes');
}

function docOpenLocal(imgURL,Targ,imgWidth,imgHeight) {
newWin=window.open(imgURL,Targ,'width='+parseInt(imgWidth)+',height='+parseInt(imgHeight)+'location=no,toolbar=no,menubar=no,status=no,resizable=no,scrollbars=no');
}

function imgOpen(imgURL,Targ,imgWidth,imgHeight,title) {
newWin=window.open("",Targ,'width='+parseInt(imgWidth)+',height='+parseInt(imgHeight));
t='<HTML><HEAD><TITLE>'+title+'</TITLE></HEAD><BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0"><img src="'+imgURL+'"></BODY></HTML>';
newWin.document.write(t);
newWin.document.close();
}

var b_Opera;
var nav = navigator.userAgent;
var b_W3C = (document.getElementById) ? true : false;
var b_IE5 = (b_W3C && nav.indexOf('MSIE')!=-1) ? true : false;
var b_NN6 = (b_W3C && nav.indexOf('Netscape')!=-1) ? true : false;
b_Opera = (b_W3C && nav.indexOf('Opera')!=-1) ? true : false;
var b_IE4 = (document.all && document.all.item) ? true : false;

function linkRedye(arg){
if(b_W3C){
	if (b_NN6) activeColor='rgb(170,0,0)';
	else activeColor='#aa0000';
	top.left.document.getElementById(arg).style.color=activeColor;

	for(i=0;i<(top.left.document.getElementsByTagName('div').length);i++){
		divId=top.left.document.getElementsByTagName('div')[i].id;
		if (arg!=divId && top.left.document.getElementById(divId).style.color==activeColor){
		top.left.document.getElementById(divId).style.color='#5959B2'
		}
	}
}
else if (b_IE4){
	document.all[arg].style.color='#AA0000';
	if (typeof oldarg!="undefined" && oldarg!=arg){
	document.all[oldarg].style.color='#5959B2';
	}
oldarg = arg;
}
}

var lNumber;
var oldNumber = '';
var loaded = false;
var c = 50;
var firstTime = true;
var actualTop;

function showInfo(lNumber){
if (loaded && b_W3C){
	if (firstTime){
	actualTop = top.right.document.getElementById(lNumber).offsetTop;
	firstTime = false;
	}
	var  topWithScroll;
	if (b_NN6) topWithScroll = window.pageYOffset;
	else topWithScroll = top.right.document.body.scrollTop;
	
	if (lNumber!=''){
	top.right.document.getElementById(lNumber).style.visibility='visible';
	top.right.document.getElementById(lNumber).style.top=actualTop+topWithScroll;
	if (b_IE5) mytimer = setInterval('clipper('+lNumber+')',10);
	oldNumber = lNumber;
	}

	if (lNumber==''){
	top.right.document.getElementById(oldNumber).style.visibility='hidden';
	top.right.document.getElementById(oldNumber).style.clip="rect(0 0 100% 0)"
		if (b_IE5) clearInterval(mytimer);
	c = 50;
	}
}
}

function clipper(lNumber){
c+=5;
if(c<=105){
top.right.document.getElementById(lNumber).style.clip="rect(0 "+c+"% 100% "+(100-c)+"%)";
}
}

var oldPicId = '';
function showPic(picId){
if (loaded && b_W3C){
document.getElementById(picId).style.visibility='visible';
	if (oldPicId!='' && oldPicId!=picId){
	document.getElementById(oldPicId).style.visibility='hidden';
	}
oldPicId = picId;
}
}

function changeImages(objName,objPath) {
	if (document.images && flag == true) {
		document[objName].src=objPath;
}
}

function newImage(arg) {
	rslt = new Image(92,21);
	rslt.src = arg;
	return rslt;
}

var flag = false;
function preload(subDir){
if (document.images) {
	about_m_03_over = newImage(subDir+"images/home_o.gif");
	about_m_04_over = newImage(subDir+"images/about_o.gif");		
	about_m_05_over = newImage(subDir+"images/activ_o.gif");
	about_m_06_over = newImage(subDir+"images/partn_o.gif");
	about_m_07_over = newImage(subDir+"images/projects_o.gif");
	about_m_08_over = newImage(subDir+"images/news_o.gif");
	about_m_09_over = newImage(subDir+"images/koop_o.gif");
	flag = true;
return true;
}
}