function FcDisplayPageTitle(entry_title){
	//alert (entry_title.length + " ::: " + entry_title);
		
	if(entry_title.length >= 5){
		var myString = entry_title;
	}else{
		var myString = '';
		
	}
	parent.window.document.getElementById("divPageName").innerHTML = myString;
	
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


// open a popup to print stuff
function FcPrint(entry_itemid){
	
	config = ', hotkeys=no , menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no';

	w = 700;
	my_h = screen.height - 70; 
	if(my_h < 840){
		h = my_h;
	}else{	
		h = 840; //screen.height - 70;
	}
	
	xPos = 0;
	yPos = 0;
	
	var win = window.open('page_print.php?itemsId='+entry_itemid+'', 'myPrintWindow', 'height=' + h + ',width=' + w + ',screenX=' + xPos + ',screenY=' + yPos +
	',left=' + xPos + ',top=' + yPos + config);
	
	win.focus();
	win.opener = self;
	
}


// redirect to a link
function FcRedirect(entry_link, entry_window){  
	entry_window.location.href = entry_link;	
}
