// for link resources	
function openwin(openurl) {
	// first test the string for 'http://'.  If it's not there, add it.
	if ((openurl.toLowerCase().indexOf("http://") == -1) && (openurl.toLowerCase().indexOf("https://") == -1)) {
		openurl = "http://" + openurl;
	}
	var myWidth = 0, myHeight = 0;
  	if( typeof( window.innerWidth ) == 'number' ) {
    	//Non-IE
    	myWidth = window.innerWidth;
    	myHeight = window.innerHeight;
  	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    	//IE 6+ in 'standards compliant mode'
    	myWidth = document.documentElement.clientWidth;
    	myHeight = document.documentElement.clientHeight;
  	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    	//IE 4 compatible
    	myWidth = document.body.clientWidth;
    	myHeight = document.body.clientHeight;
  	}
	myWidth = myWidth * (3/4);
	myHeight = myHeight * (3/4);
	
  	wleft = (screen.width - myWidth) / 2;
  	wtop = (screen.height - myHeight) / 2;
  	// IE5 and other old browsers might allow a window that is
  	// partially offscreen or wider than the screen. Fix that.
  	// (Newer browsers fix this for us, but let's be thorough.)
  	if (wleft < 0) {
    	w = screen.width;
    	wleft = 0;
  	}
  	if (wtop < 0) {
    	h = screen.height;
    	wtop = 0;
  	}

  window.open(openurl,null,"height="+myHeight+",width="+myWidth+",top="+wtop+",left="+wleft+",status=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,scrollbars=yes");
}
