// checks if the page is in it's proper frameset
if (parent.fcode == 'harabibi'){
	// external override for the docID
		if(typeof docID == 'undefined') docID=-1
		docID = URLparam('docID',docID)
	// guess it's own ID for inline reference	
		if(docID == -1) docID=parent.guessDocID(document.location.href,3)
	// request the frameset to adjust it's frames to the docID
		//parent.monitorContentFrame('content',document.location.href); // this one's only used to override the automatic version
}else{ 
	// makes a new frameset if the wrong one is detected
		docURL = URLstrip(-1)
		window.location.href='/frameset.asp?strurl='+URLencode(docURL)
}

