// JavaScript Document

var clocation=location.href;

function openWindowLarge(url,type){
	window.name="main";
	wh=470;
	ht=500;
	switch(type) {
		case 'big':
			wh=1024;
			ht=600;
		break;
		case 'wide':
			wh=777;
			ht=500;
		break;
	}
		
	str="content=";
	index = url.indexOf(str);
	if(index > -1){
		index = index + str.length;
		if(url.indexOf("&")>-1){
			str1=url.substring(index, url.indexOf("&"));
		}else{
			str1=url.substring(index);
		}
	}

	str="page=";
	index = url.indexOf(str);
	if(index > -1){
		index = index + str.length;
		str2=url.substring(index);
	}else{
		str2="1";
	}
	
	eclipseWindow=window.open("/shared/print.jsp?content="+str1+"&page="+str2,'eclipseWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+wh+',height='+ht+',top=206,left=152'); 
	eclipseWindow.focus();
}

