/*@@@ highlight search result item*/
var __anchorItem = null;
if (location.hash.substr(1) != "") {
    try {
        __anchorItem = document.getElementById(location.hash.substr(1));
    } catch (e) {
        try {
            __anchorItem = document.all[location.hash.substr(1)];
        } catch (e) { }
    }
}

if (__anchorItem != null) {
    try {
        __anchorItem.style.border = "1px solid red";
    } catch (e) { }
}		


function LargeImageShow(LImageUrl,ImageW,ImageH){
    ImageH += 20;
    ImageW += 20;
    largeImage = window.open(LImageUrl,'largeImage','location=no,left=200,top=200,menubar=no,height='+ ImageH +',width=' + ImageW);
    largeImage.focus();
}
            
function FixStr(strToFix){
  	var re,rv;
  	var rv = String(strToFix);
  	re = /[\{\}-]/g;
  	rv=rv.replace(re,"");
    return (rv);
}
            
function OffLineAlert(){
	 alert('This option disabled  Off-Line.');
	 return false;
}
						
