 if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1)
	 {
	 		document.write('<LINK rel="stylesheet" type="text/css" href="template/main_ff.css"/>');
	 }
	   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;
            }
			
			function initScrollLayer() {
                // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll,
                // if horizontal scrolling, id of element containing scrolling content (table?)
                var wndo = new dw_scrollObj('wn', 'lyr1', 't1');

                // pass id's of any wndo's that scroll inside tables
                // i.e., if you have 3 (with id's wn1, wn2, wn3): dw_scrollObj.GeckoTableBugFix('wn1', 'wn2', 'wn3');
                dw_scrollObj.GeckoTableBugFix('wn');
                }
            
					
             
