function I(obj) {
	if (editmode=="content") {
		activeImg=obj;
		str="";
		propertiesWindow=window.open("?window=pb_properties&menuid="+menuid,"propertiesWindow","status,scrollbars,resizable=yes,height=500,width=650");
		propertiesWindow.focus();
	}
	else {
		what=obj.action;
		if (what==1) {
			return true;
		}
		if (what==3) {
			imgBig=window.open('?window=enlarge&dirStr='+encodeURI(obj.src),'big','menubar=no, status=no, location=no, scrollbars=no');imgBig.focus();
		}
		if (what==2) {
			newBrowser=window.open(obj.url,'newBrowser');
			newBrowser.focus();
		}
		if (what==4) {
			document.location.href=obj.url;
		}
	}
}

function setSession(){
	var itemcount = setSession.arguments.length;
	var requestStr="";
  for (i = 0;i < itemcount;i+=2){
  	requestStr+="&name[]="+setSession.arguments[i]+"&value[]="+setSession.arguments[i+1];
	}
	sessionImage = new Image();
	sessionImage.src="blueprint/session.php?"+requestStr;
}



