				function submitSearchString(oSrc, args){

				var valSearch = document.forms[0].fmSearch.value;
					if( valSearch == ''||valSearch == 'Search')
					{
						alert('Please Enter search text.');
						document.forms[0].fmSearch.focus();
					}
					else
					{
						document.forms[0].submit();
					}
					
				}
				
    function PreventSubmit(e)
    {
        if (e.keyCode == 13) 
        { 
            e.cancelBubble = true; 
            if (e.stopPropagation) 
                e.stopPropagation(); 
        }
    }
				
	function openAWindow(pageToLoad, target, winName, width, height, center, blnResizable)
	{
		xposition=0; yposition=0;
		if ((parseInt(navigator.appVersion) >= 4 ) && (center))
		{
			xposition = (screen.width - width) / 2;
			yposition = (screen.height - height) / 2;
		}
		
		var strResize = blnResizable ? "1":"0"
	
		args = "width=" + width + "," 
		+ "height=" + height + "," 
		+ "location=1," 
		+ "menubar=1,"
		+ "resizable=" + strResize + ","
		+ "scrollbars=1,"
		+ "status=1," 
		+ "titlebar=1,"
		+ "toolbar=1,"
		+ "hotkeys=1,"
		+ "screenx=" + xposition + ","  //NN Only
		+ "screeny=" + yposition + ","  //NN Only
		+ "left=" + xposition + ","     //IE Only
		+ "top=" + yposition;           //IE Only
		
	
		var objWin = window.open( pageToLoad,winName,args );
	
		if(objWin){
		objWin.focus();
		}
		
		return false;
	}
