//  Tool Lib : Stand 12.11.2009 # 11:14 uhr
// umlaut problematik in der Suche 
// leere suche nur in einem monat ermöglichen 
/* ###################      Web 2.0 Menue links  ############################################### */
function setLNG_Cookie ( thisLNG ) {
   var ablauf = new Date();
   var infuenfTagen = ablauf.getTime() + (5 * 24 * 60 * 60 * 1000);
   ablauf.setTime(infuenfTagen);
   document.cookie = "LNG=" + thisLNG +" ; path=/ ; expires=" + ablauf.toGMTString();
}
function checkEnter(event)
{ 	
	var code = 0
	if (document.all ) {
		code = window.event.keyCode
	} else {
		code = event.which
	}
		
	if (code==13) {
	 	dologin('http://serviceplus.nemetschek.de/welcome.nsf/welcome08.html' ) ;
		return false;
	} else {
	//	alert ( "code " + code ) ;
	}
}
function menu_ds(target)
{
 //    node = eval("document.getElementById('" + target + "')") ;
        // je Untermenue eine Zeile zum Ausblenden einfügen ;
        for ( i=1;i < 101 ; i++) {
            if ( i < 10 ) {
 	            if ( $( 'mn0' + i ) ) { 
             		$( 'mn0' + i ).hide() ;
             	}
             } else{
              	if ( $( 'mn' + i ) ) {
           		  $( 'mn' + i ).hide() ;          
             	}
             }
        }
 		
	if ( $( target )  ) {
      	 $( target ).style.display = 'block' ; 
 	 }
     
  return false
}
function menuhide( what) { 
     if ( $( what ) ) { 
       $( what ).style.display = 'none' ; 
      }
}
function menushow( what) { 
      if ( $( what ) ) { 
       $( what ).style.display = 'block' ; 
      }
}
/* ###################      Web 2.0 effekte ############################################### */
function dotoogle(  what ) {
   yy =  WertHolen('js' , 1 )   ;
   if ( yy  == 1 ) {
       toogleDiv( what) ;
    }	
     
}
function toogleDiv( what ) {
	if ( document.getElementById( what ) ) { 
		if( document.getElementById( what ).style.display == "none" ) {
			document.getElementById( what ).style.display = "block";
		} else { 
			document.getElementById( what ).style.display = "none"  ;
			if ( what == "big" ) { 
				if ( document.getElementById( 'datepicker') ) { 
					document.getElementById( 'datepicker').style.display = "none"  ;
				}
				if ( document.getElementById( 'datepickeriframe') ) { 
					document.getElementById( 'datepickeriframe').style.display = "none"  ;
				}
			}
		}
	}
		
}
function hideAll( what ) {
	for (var i=0; i<99; i++) { 
		var whati = what + i ;
		if ( document.getElementById( whati ) ) { 
			document.getElementById( whati ).style.display = "none"  ;
		}
	}
		
}
/* ###################    Cookie behandlung  ############################################### */
function WertHolen(Bezeichner , laenge) {
 var Wert = "";
 if(document.cookie) {
  var Wertstart = document.cookie.indexOf(Bezeichner +"=") + 3 ;
  var Wertende = document.cookie.indexOf(";" );
  if (Wertende == -1)
   Wertende = document.cookie.length;
  if ( laenge != "" )
    Wertende = Wertstart + laenge ;
  Wert = document.cookie.substring(Wertstart,Wertende);
 }
 return Wert;
}
function WindowSize() {
    yy =  window.outerHeight ;
    if ( yy >  200 ) { 
       WertSetzen('WY' , yy +10000, 36500000000 ) ; 
    } else { 
       yy = document.body.offsetHeight + 22 ;
       WertSetzen('WY' , yy+10000 , 36500000000 ) ; 
   }
   xx =  window.outerWidth ;
    if ( xx >  200 ) { 
       WertSetzen('WX' , xx +10000, 36500000000 ) ; 
    } else { 
       xx = document.body.offsetWidth + 12 ;
      WertSetzen('WX' , xx +10000 , 36500000000 ) ; 
   }
}
function WertSetzen(Bezeichner, Wert, Verfall) {
	 var jetzt = new Date();
 var Auszeit = new Date(jetzt.getTime() + Verfall);
 document.cookie = Bezeichner+"="+Wert+"; expires="+Auszeit.toGMTString()+";";
}
/* ###################      Enter abfangen für login box  ############################################### */
function entsub(event,ourform) {
   if (event && event.which == 13) { 
         returnFalse();
   } else if (window.event && window.event.keyCode == 13) { 
         returnFalse();
    } else { 
         return true;
    } 
  
}
/* ###################      Enter abfangen für Suche    ############################################### */
function entsearch(event,ourform) {
   if (event && event.which == 13) { 
         prepareSearch();
   } else if (window.event && window.event.keyCode == 13) { 
         prepareSearch();
    } else { 
         return true;
    }   
}
/* ###################      Suche    ############################################### */
/*  function prepareSearch(s,s1, s2 , s3 , wo , tv, how , ex , my , ma , bf , tt , ug ){  */ 
function prepareSearch( start  ,s,s1, s2 , s3 , wo , tv, how , ex , my , ma , bf , tt , ug ){  
	s = (s == null) ? document.forms[0].Query : s;
	start = (start == null) ? 1 : start ;
	s1 = (s1 == null) ? document.forms[0].Query_1 : s1;
	s2 = (s2 == null) ? document.forms[0].Query_2 : s2;
	s3 = (s3 == null) ? document.forms[0].Query_3 : s3;
	wo = (wo == null) ? document.forms[0].wo : wo;
	how = (how == null) ? document.forms[0].how : how;
	ex = (ex == null) ? document.forms[0].exact : ex;
	tv = (tv == null) ? document.forms[0].OnlyTV : tv;
	tt = (tt == null) ? document.forms[0].OnlyTT : tt;
	my = (my == null) ? document.forms[0].OnlyMine : my;
	ma = (ma == null) ? document.forms[0].OnlyMain : ma;
	bf = (bf == null) ? document.forms[0].bf : bf;
	ug = (ug == null) ? document.forms[0].usergroup : ug;
	doSearch(s,s1, s2 , s3 , wo , tv, how , ex , my , ma , bf , tt , ug , start );
return false;
}
function doSearch(s, s1 , s2 , s3 , wo , tv, how , ex , my , ma , bf ,tt , ug , start ) {
try {
	window.clearTimeout( timeOut) ;
}
catch (e) {
	// ignorieren 
}
var regExp1 = /\bfield\b/;
var regExp2 = /[(,),<,>,\[,\]]/;
start = (start == null) ? 1 : start ;
s = (s == null) ? document.forms[0].Query : s;
s1 = (s1 == null) ? document.forms[0].Query_1 : s1;
s2 = (s2 == null) ? document.forms[0].Query_2 : s2;
s3 = (s3 == null) ? document.forms[0].Query_3 : s3;
wo = (wo == null) ? document.forms[0].wo : wo;
how = (how == null) ? document.forms[0].how : how;
ex = (ex == null) ? document.forms[0].exact : ex;
tv = (tv == null) ? document.forms[0].OnlyTV : tv;
tt = (tt == null) ? document.forms[0].OnlyTT : tt;
my = (my == null) ? document.forms[0].OnlyMine : my;
ma = (ma == null) ? document.forms[0].OnlyMain : ma;
bf = (bf == null) ? document.forms[0].bf : bf;
ug = (ug == null) ? document.forms[0].usergroup : ug;
var d1 = document.forms[0].datum1.value;
var d2 = document.forms[0].datum2.value ;
var str = s.value; 
var str_or = document.forms[0].Query_1.value ;
var str_phrase = document.forms[0].Query_2.value ;
var str_not = document.forms[0].Query_3.value ;
var wo = document.forms[0].wo.value ;	 
if ( $('usergroup')) { 
	var wo2 = $('usergroup').value;
} else {
	var wo2 = ug ;
}
var vorstr = str + str_or + str_phrase + str_not ;
var debug = "n" ;
if ( document.forms[0].debug ) {
	if ( document.forms[0].debug.checked ) {
		debug= "Y" ;
	}
}
var counthits = '&count=' + document.forms[0].counthits.value ;	 
if ( vorstr == "" && d1 == "TT.MM.JJJJ" && d2 == "TT.MM.JJJJ"  ){ 
//	alert("Bitte den Text eingeben, nachdem Sie suchen wollen.\n\nDie Suche kann kombiniert werden mit  (and ,  or  sowie Wildcards wie  ? * )\n\nBeispiele:\nLayer and Export* \nPDF or Adobe\nPlotfile*\nTestversion* & (V?lletti* or Lang)");
//	s.focus();
	str = "*nsf" ;
} 
	mt = document.forms[0].OnlyMain ;
	my = document.forms[0].OnlyMine ;
	ex = document.forms[0].exact ;	
	if ( $('jsAuthor') ) {  		 
		username = $('jsAuthor').value ;
	}
	if ( str != "" ) {
        		while (  str.substring( str.length -1 ,  str.length ) == " " ) { 
            		str = str.substring( 0 ,  str.length -1 ) ;
//            alert ( str + str.length ) ;
       }
   var uploadstr = '' ; 
      var profilstr = "" ;
      var uploadstr2 = '' ; 
       for ( pro_i = 0 ; pro_i <=  str.length  ;  pro_i ++)  { 
            profilstr2 = str.substr( pro_i , 1 ) ;
 //          alert ( pro_i + "  = " + profilstr2  + "  " + profilstr  ) ;
           if ( profilstr2 == "ä" ) {
	profilstr2 = "ae" ;
           } else  if ( profilstr2 == "ö" ) {
	profilstr2 = "oe" ;
           } else  if ( profilstr2 == "ü" ) {
	profilstr2 = "ue" ;
           } else  if ( profilstr2 == "Ä" ) {
	profilstr2 = "Ae" ;
           } else  if ( profilstr2 == "Ö" ) {
	profilstr2 = "Oe" ;
           } else  if ( profilstr2 == "Ü" ) {
	profilstr2 = "Ue" ;
           } else  if ( profilstr2 == "ß" ) {
	profilstr2 = "ss" ;
           } 
           profilstr = profilstr  + profilstr2 ;
          if ( profilstr2 != '*' ) { 
             uploadstr2 = uploadstr2 + profilstr2 ;
          }
          
       }
//      vorstr = profilstr;
//     profilstr = vorstr.replace(/\s/g,"+and+");
      
      vorstr = str;
      str = vorstr.replace(/\s/g,"+and+");
    
      if ( str_or + str_not + str_phrase  == '' && str == vorstr ) { 
      	uploadstr = 'FIELD+Download+contains+' + uploadstr2  + ' OR+FIELD+discript_display+CONTAINS+' + uploadstr2  + ' OR+FIELD+subject+CONTAINS+' +uploadstr2 ;
     } else {
    	uploadstr = str ;
 
}
  }
  if ( str_or != "" ) {
        while (  str_or.substring( str_or.length -1 ,  str_or.length ) == " " ) { 
            str_or = str_or.substring( 0 ,  str_or.length -1 ) ;
       }
	   vorstr = str_or;
	     str_or = vorstr.replace(/\s/g,"+or+"); 
	     if ( str != "" ) 
	     {      str = "(+" + str + "+)and(+" + str_or + "+)+" ; }
	     else
	     str = str_or ;
	}
	if ( str_phrase != "" ) {
        while (  str_phrase.substring( str_phrase.length -1 ,  str_phrase.length ) == " " ) { 
            str_phrase = str_phrase.substring( 0 ,  str_phrase.length -1 ) ;
       }
	     if ( str != "" ) 
		     {  str = "(+" + str + "+)+and+( \"" + str_phrase + "\"+)+" ; }
	     else
     	     {  str = " \"" + str_phrase + "\" " ; }
	}
	if ( str_not != "" ) {
        while (  str_not.substring( str_not.length -1 ,  str_not.length ) == " " ) { 
            str_not = str_not.substring( 0 ,  str_not.length -1 ) ;
       }
   vorstr = str_not;
     str_not = vorstr.replace(/\s/g," or "); 
	     if ( str != "" ) 
	     {     str = "(+" + str + "+)+and +not+(+" + str_not + "+)+" ; }
	     else
	     {     str = "+not+(+" + str_not + "+)+" ; }
	     
	}
	 
	 if( mt.checked == false    &&  document.forms[0].wo.value == "FO"  )
	 {	str = "(" + str + ") and maintopic"; }
	 if( my.checked == true )
	 {	str = "(" + str + ")+and+\"" + username +"\""; }
	
	if ( $('OnlyGroup') ) {
		if ( $('OnlyGroup').value != ""  ) {
        			  if ( document.forms[0].wo.value == "UPL"    )  { 
				str = "(" + str + ")+and+Field+group=" + $('OnlyGroup').value; 
			}
		}
	}
	if ( document.forms[0].wo.value == "FAQ2"    )  { 
		if ( $('OnlyVersion') ) {
			if ( $('OnlyVersion').value != ""  ) {
				str = "(" + str + ")+and+(Field+Programme+=+" + $('OnlyVersion').value +")"; 
			}
		}
		if ( $('OnlyProg') ) {
			if ( $('OnlyProg').value != ""  ) {
				str = "(" + str + ") +and+(Field+Programme+=+" + $('OnlyProg').value +")"; 
			}
		}
	}
	
	 if( bf.value == "0" )
	 {	
          if ( document.forms[0].wo.value == "FO"  || document.forms[0].wo.value == "WB"   )  { 
              str = "(" + str + ")+and+not+(Testversion*)"; 
         }
    }
// alert( str ) ;
     var add2query = "";
	 if( tv.checked == true )
	 {	if ( parent.content.document.forms[0].seekproduct ) { 
               			var filter = parent.content.document.forms[0].seekproduct.value ; 
              			if ( filter != "Alle" ) { 
                   			str = "(" + str + ")+and+(+" + filter + "+)"; 
                   			add2query = "&Product=" + filter + "!" ;
              			}
         		}
		if ( parent.content.document.forms[0].seekcat ) { 
              			var filter2 = parent.content.document.forms[0].seekcat.value ; 
              			if ( filter2 != "Alle" ) { 
                      			str = "(" + str + ")+and+(" + filter2 + "+)"; 
                    			add2query += "&Category=" + filter2 + "!" ;
               			}             
		}           
	}
	if ( $('filteruser') ) { 
		if (  $('filteruser').value != "" ) { 
                      		str = "(" + str + ")+and+(field+author+contains+" + $('filteruser').value+ "+)";                    			
               		}                        
         	}
	
      	
if ( d1 == "TT.MM.JJJJ" ) { 
	var datq1 = "" ;
	var datfaq1 = "" ;
} else {
	var datq1 = "+and+field+posteddate>=" +d1  ;
	var datfaq1 = "+and+field+Bearbeitungsstand>=" +d1  ;
}
if ( d2 == "TT.MM.JJJJ" ) { 
	var datq2 = "" ;
	var datfaq2 = "" ;
} else {
	var datq2 = "+and+field+posteddate<=" +d2  ;
	var datfaq2 = "+and+field+Bearbeitungsstand<=" +d2  ;
}
     if( ex.checked == true )
	 {	var str2 = "&SearchFuzzy=FALSE"; }
      else
	 {	var str2 = "&SearchWV=TRUE&SearchFuzzy=TRUE"; }
	 
   var Searchorder = "&SearchOrder=" +  document.forms[0].how.value ;
     if ( document.forms[0].wo.value == "LL" ) 
     { 	newlink = ("/forum/lineletter.nsf/search/search?SearchView&Query=" + escape( str ) +str2+ "&start=1" + counthits + Searchorder);      }
     else   if ( document.forms[0].wo.value == "FAQ2" ) 
     { 	newlink = ("/hotline/faq.nsf/" + wo2 + "?SearchView&query=" + escape( str +  datfaq1 +datfaq2 ) +str2+  "&q="  + s.value  + "&start=" + start + counthits + Searchorder);      }
     else  if ( document.forms[0].wo.value == "UPL" ) 
     { 	
	if ( uploadstr != '' ) {
		newlink = ("/forum/upload.nsf/search?SearchView&Query=" + escape( uploadstr ) + str2 + "&start=1"  + counthits + Searchorder);      
	} else {
		newlink = ("/forum/upload.nsf/search?SearchView&Query=" + escape( str ) + str2 + "&start=1"  + counthits + Searchorder);      
	}
}
     else  if ( document.forms[0].wo.value == "UPB" ) 
     { 	newlink = ("/forum/upload.nsf/FotosAllView?SearchView&Query=Field+author+contains+" + escape( profilstr) + str2 + "&start=" + start  + counthits + Searchorder);      }
     else  if ( document.forms[0].wo.value == "PRO" ) 
     { 	newlink = ("/profile.nsf/publicprofile?OpenForm&person=" + escape( profilstr));      }
     else  if ( document.forms[0].wo.value == "NEM" ) 
     { 	newlink = ("/de/search.nsf/search08/$$search?SearchView&Query=" + escape( str ) + str2 + "&start=" + start + counthits + Searchorder);      }
     else  if ( document.forms[0].wo.value == "PDF" ) 
     { 	newlink = ("/forum/elineletter.nsf/pdfsuche?SearchView&Query=" + escape( str ) + str2 + "&start=" + start  + counthits + Searchorder);      }
     else  if ( document.forms[0].wo.value == "MyW" ) 
     { 	newlink = ("/forum/ssv.nsf/search?SearchView&Query=(Field%20Category%20contains%20Wunsch+and+Field%20Author%20contains%20"+ escape(username) +"+)+and+" + escape( str ) + str2 + "&start=" + start  + counthits + Searchorder);      }
          else  if ( document.forms[0].wo.value == "MyB" ) 
     { 	newlink = ("/forum/ssv.nsf/search?SearchView&Query=(Field%20Author%20contains%20%22"+ escape(username) +"%22+)+and+" + escape( str ) + str2 + "&start=" + start  + counthits + Searchorder);      }
     else  if ( document.forms[0].wo.value == "Goo" ) 
     { 	newlink = ("http://www.google.de/search?q=" + escape( str ) );      }
     else  if ( document.forms[0].wo.value == "ENL" ) 
     { 	newlink = ("/de/email.nsf/suche?SearchView&Query=" + escape( str )   + "&start=" + start + counthits + "&SearchMax=0" +  Searchorder );      }
     else  if ( document.forms[0].wo.value == "INL" ) 
     { 	newlink = ("/forum/infothek.nsf/suche?SearchView&Query=" + escape( str )  + "&start=" + start + counthits + "&SearchMax=0" +  Searchorder );      }
     else  if ( document.forms[0].wo.value == "SRS" ) 
     { 	newlink = ("/de/service/patches.nsf/$search?SearchView&query=" + escape( str ) + str2  + "&start=" + start + counthits + "&SearchMax=0" + add2query + Searchorder );      }
     else  if ( document.forms[0].wo.value == "WB" ) 
      { 	// alert( "Dies ist eine neue Option der Suche, die noch im Test ist !!!" ) ; 
newlink = ("/forum/ssv.nsf/wuensche?SearchView&Query=" + escape( str ) + str2 + "&start=" + start + counthits + "&SearchMax=0" + add2query + Searchorder); 	}
    else  if ( document.forms[0].wo.value == "SAIN" ) 
      {	newlink = ("/forum/SalesInfo.nsf/Web/plain?SearchView&Query=" + escape( str ) + "&start=" + start + counthits + "&SearchMax=0" + add2query + Searchorder); 	}
    else
     { 	
	 if(  tt.checked == true )    {  
		str = "(" +str + "+)+and+field+toptip=1" ;
	}
if ( ug.value == "sp" || ug.value == "ne"  ) { 
              newlink = ("/forum/ssv.nsf/search?SearchView&Query=" +  escape( str + datq1 + datq2  ) + str2 + "&start=" + start  + counthits + "&SearchMax=0" + 		add2query + Searchorder); 	
 
} else { 
              newlink = ("/forum/ssv.nsf/searchnosp?SearchView&Query=" + escape( str + datq1 + datq2) + str2  + "&start=" + start  + counthits + "&SearchMax=0" + 	add2query + Searchorder); 	
}    
    }
		
	if ($('content')) {
		if ( document.getElementById( 'searchprogress') ) { 
			document.getElementById( 'searchprogress' ).style.display = "block"  ;
			if  ( debug == "Y"  ) {  
			        document.getElementById( 'searchprogress' ).innerHTML = newlink   ;
               			//	newlink = '/welcome.nsf/tools.js' ;
			}
		}
 		window.status = 'reloading .. ' + newlink ;
     		new Ajax.Request( newlink , {
		     	method:'GET',
     			encoding:'ISO-8859-1' ,
      			onSuccess: function(XHR){
					var enderesponse = XHR.responseText.split( '<!-- begin content //-->' ) ; 
					var mitteresponse = enderesponse[1].split( "<!-- end content //-->" ) ; 
					$('content').innerHTML = mitteresponse[0] ;
				if ( document.getElementById( 'searchprogress') ) { 
					document.getElementById( 'searchprogress' ).style.display = "none"  ;
				}
	
 				}
 			}
 		);
 	} else {
		window.location.href = newlink ;
		
	 }
}
function GoView( thislink , debug ) { 
	
	var newlink = '' ;
	if ( thislink ) {
		newlink = thislink ;
	}
	if ( newlink == '' ) { 	
		var showproduct = '' ;
		var showcat = '' ;
		var sortby = '' ;
	}
//	alert (' ori link '  + thislink + '\n\ new: ' + newlink ) ; 
	if ($('content') && thislink != '/forum/ssv.nsf/NewWuensche2?OpenForm' ) {
		if ( document.getElementById( 'searchprogress') ) { 
			document.getElementById( 'searchprogress' ).style.display = "block"  ;
		}
 		window.status = 'reloading .. ' + newlink ;
     		new Ajax.Request( newlink , {
		     	method:'GET',
     			encoding:'ISO-8859-1' ,
      			onSuccess: function(FORUM){
					var enderesponse = FORUM.responseText.split( '<!-- begin content //-->' ) ; 
					var mitteresponse = enderesponse[1].split( "<!-- end content //-->" ) ; 
					$('content').innerHTML = mitteresponse[0] ;
				if ( document.getElementById( 'searchprogress') ) { 
					document.getElementById( 'searchprogress' ).style.display = "none"  ;
				}
	
 				} , 
      			onFailure: function(FORUM){
					if ( document.getElementById( 'searchprogress') ) { 
						document.getElementById( 'searchprogress' ).style.display = "none"  ;
					}
	
 				}
 			}
 		);
 	} else {
		window.location.href = newlink ;
		
	 }
}
function GoThisView( thissort  ) { 
	var thislink = '' ; 
	if ($('sortby')) {
		if ( thissort !=  "" ) { 
		  	thislink = '(NewBy' + thissort ;
			$('sortby').value = thissort ;	
		} else {
		     	if ($('sortby').value == "Posting" ) {
				thislink = '(NewByPosting' ;
	    		} else {
				thislink = '(NewByResponse' ;
   	   		}
		}
    	} else {
		if ( thissort !=  "" ) { 
		  	thislink = '(NewBy' + thissort ;
		} else {
		  	thislink = '(NewByResponse'  ;
		}
	}
	var Product = 'Alle' ;
	if ($('selProduct')) {
	     Product = $('selProduct').value ;
		if ( $('seekProduct') )  {
		     $('seekProduct').value  = Product;
		}
	}
	var Category = 'Alle' ;
	if ( $('selCategory') )  {
	    Category = $('selCategory').value ;
		if ( $('seekCat') )  {
		     $('seekCat').value  = Category ;
		}
	}
	if  ( Product == "Alle" ) {
  		if ( Category == 'Alle' ) {
   		   thislink = thislink + 'Alle)'   ;
		} else { 
   		   thislink = thislink + 'AlleCat)' ;
		}
	} else {
  		if ( Category == 'Alle' ) {
   		   thislink = thislink + 'Pro)' ;
		} else { 
   		   thislink = thislink + 'ProCat)' ;
		}
	} 
     thislink =  '/forum/ssv.nsf/' + thislink + '?OpenView&Category=' + Category +"!&Product=" + Product + '!&Nur_Author=!&Nur_Author_1=!&Nur_Tipps=!&SortBy=' + thissort   + "!" ;
	GoView( thislink , "") ; 
}
function showOptions(  ) {
	var options = $('wo').value ; 
	if ( $('big').style.display == 'block' )  { 
		if ( $('optForum') ) { 	
			if ( options == "FO" ) {
				$('optForum').style.display = 'block' ;
			    } else { 
				$('optForum').style.display = 'none' ;
			    }
		}
		if ( $('optUpload') ) { 	
			if ( options == "UPL" ) {
				$('optUpload').style.display = 'block' ;
		    	}  else { 
				$('optUpload').style.display = 'none' ;
		    	}
		}
		if ( $('optFAQs') ) { 	
			if ( options == "FAQ2" ) {
				$('optFAQs').style.display = 'block' ;
		    	}  else { 
				$('optFAQs').style.display = 'none' ;
		    	}
		}
	}
}
function showOptions2(  ) {
}
