﻿// JScript File

<!--

//---------------------------------------------------------------------------------------
function printpr()
{
    var OLECMDID = 7;
    /* OLECMDID values:
    * 6 - print
    * 7 - print preview
    * 1 - open window
    * 4 - Save As
    */
    var PROMPT = 1; // 2 DONTPROMPTUSER 
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    document.body.insertAdjacentHTML('beforeEnd', WebBrowser); 
    WebBrowser1.ExecWB(OLECMDID, PROMPT);
    WebBrowser1.outerHTML = "";
}

function ShowPostcode() 
{ 
    var A = document.getElementById('Address');
    var C = document.getElementById('City')
    var Address = ""; if( A ) Address = A.value;
    var City = ""; if( C ) City = C.value;
    var Number = "";
    if( Address.indexOf(" ")>0 )
    {   Number = Address.substring(Address.indexOf(" ")+1);
        Address = Address.substring(0, Address.indexOf(" "));
    }
    if( Address!="" && City!="" )
    {   strURL = "http://www.postnl.nl/voorthuis/site/zoeken/postcode/index.aspx?type=adr&action=checkadres&straat=" + Address + "&huisnr=" + Number + "&plaats=" + City; 
        ShowPopup(strURL,1000,500);
    }
}

//---------------------------------------------------------------------------------------
function SetMainMenu(Button)
{
    if( parent==null || parent.frame_menu==null ) return;
    if( parent.frame_menu.bStart ) parent.frame_menu.bStart.className = 'menuButton';
    if( parent.frame_menu.bAnimals ) parent.frame_menu.bAnimals.className = 'menuButton';
    if( parent.frame_menu.bJournal ) parent.frame_menu.bJournal.className = 'menuButton';
    if( parent.frame_menu.bAmbu ) parent.frame_menu.bAmbu.className = 'menuButton';
    if( parent.frame_menu.bDoc ) parent.frame_menu.bDoc.className = 'menuButton';
    if( parent.frame_menu.bLinks ) parent.frame_menu.bLinks.className = 'menuButton';
    if( parent.frame_menu.bUsers ) parent.frame_menu.bUsers.className = 'menuButton';
    if( parent.frame_menu.bMessages ) parent.frame_menu.bMessages.className = 'menuButton';
    if( parent.frame_menu.bSystem ) parent.frame_menu.bSystem.className = 'menuButton';
    if( parent.frame_menu.bQuery ) parent.frame_menu.bQuery.className = 'menuButton';
    if( parent.frame_menu.bRoster ) parent.frame_menu.bRoster.className = 'menuButton';
    if( parent.frame_menu.bTables ) parent.frame_menu.bTables.className = 'menuButton';     
    if( Button ) Button.className = 'selButton';
}

//---------------------------------------------------------------------------------------
function EMailToExt(Type, Btn, Body)
{    var T = document.getElementById('ctl00_ContentPlaceHolder1_Mail').value
     var X = T.split(",");
     
     var Sub = X[Type*3];
     var Adr = X[Type*3+1];
     Bod = X[Type*3+2]+Body;
/*
     if( Type==1 )
     {       Adr = "willemse.ph@gmail.com";
             Sub = "Donateurs informatie verzenden"; 
             Bod = "Piet, %0D%0A%0D%0AWil jij s.v.p. Donateursinformatie versturen naar:%0D%0A%0D%0A"+Bod;
     }
     else if( Type==2 ) 
     {       Adr = "sabine.kooman@oracle.com";
             Sub = "Kitten informatie"; 
             Bod = "Sabine, %0D%0A%0D%0AWil jij contact opnemen met deze mensen:%0D%0A%0D%0A"+Bod;
     }
     else if( Type==3 ) 
     {       Adr = "ajh.boot@kpnplanet.nl";
             Sub = "Vrijwilligers"; 
             Bod = "Astrid, %0D%0A%0D%0AWil jij contact opnemen met deze mensen:%0D%0A%0D%0A"+Bod;
     } 
*/
     return EMailTo( Adr, Sub, Bod );
}


//---------------------------------------------------------------------------------------
function EMailTo(email, subject, body)
{  
    var mailto_link = 'mailto:'+email;
   if( subject.length>0 ) 
   {   mailto_link = mailto_link + '?subject='+subject;
        if( body.length>0 ) 
        {   mailto_link = mailto_link + '&body='+body;  
        } 
   } 
   var win = window.open(mailto_link,'emailWindow'); 
   if (win && win.open &&!win.closed) win.close();   
   return false;
}

//---------------------------------------------------------------------------------------
function EMailCCTo(email, CC, BCC, subject, body)
{  
    var mailto_link = 'mailto:'+email + "?BCC=" + BCC;     

   if( subject.length>0 ) 
   {   mailto_link = mailto_link + '&subject='+subject;
   }

   if( body.length>0 ) 
   {   mailto_link = mailto_link + '&body='+body;  
   } 

   var win = window.open(mailto_link,'emailWindow'); 
   if (win && win.open &&!win.closed) win.close();   
   return false;
}


//---------------------------------------------------------------------------------------
function ShowAddFile()
{
    document.getElementById('ctl00_ContentPlaceHolder1_pAddFileX').style.visibility='hidden'
    document.getElementById('ctl00_ContentPlaceHolder1_pAddFileS').style.visibility='visible'
}

//---------------------------------------------------------------------------------------
function ShowAddMessage()
{
    document.getElementById('ctl00_ContentPlaceHolder1_pAddMessageX').style.visibility='hidden'
    document.getElementById('ctl00_ContentPlaceHolder1_pAddMessageS').style.visibility='visible'
}

//---------------------------------------------------------------------------------------
function ShowPicture(ID)
{   var Pic = "AnimalInfo.aspx?ID="+ID;
    window.open(Pic, '', "width=380,height=600,toolbar=0,resizable=1,location=0,menubar=0"); 
    return false;
} 

//---------------------------------------------------------------------------------------
function ShowMap(Address, City)
{		
    Address = Address.replace(" ","+");
    City = City.replace(" ","+");
    var Link = "http://maps.google.com/maps?f=q&hl=nl&geocode=&q="+Address+"+"+City+"&sll=52.075286,4.983673&sspn=0.545264,1.07666&ie=UTF8&ll=52.097648,4.989166&spn=0.272809,0.53833&z=11&iwloc=addr";
   
    //  var Link = "http://maps.google.com/maps?f=q&hl=nl&geocode=&q="+Address+"+"+City+"&sll=52.078346,4.885311&sspn=0.04012,0.05888&ie=UTF8&z=11"; //&output=embed&iwloc=addr";
    window.open(Link,"Zip","width=900,height=700,toolbar=0,resizable=1,location=0,menubar=0");
    return false;
}

//---------------------------------------------------------------------------------------
function ShowZip(Address, City)
{		
    Address = Address.replace(" ","+");
    City = City.replace(" ","+");
//    var Link = "http://www.tntpost.nl/voorthuis/klantenservice/onefield.aspx?ofq=straat:"+Address+",+plaats:"+City;
    var Link = "http://www.postnl.nl/voorthuis/klantenservice/onefield.aspx?ofq="+Address+"+"+City;
   
    window.open(Link,"Map","width=900,height=700,toolbar=0,resizable=1,location=0,menubar=0");
    return false;
}


//---------------------------------------------------------------------------------------
function FindCtrlNumber(Ctrl)
{  var C = document.getElementById(Ctrl);
    if( C )
    {    var Phone = C.value.replace(" ","").replace("(","").replace(")","").replace("-","");
         return FindNumber(Phone); 
    }
    return false; 
}  

//---------------------------------------------------------------------------------------
function FindNumber(Phone)
{	if( Phone=="" ) return;	
    var Link = "http://www.gevonden.cc/telefoonnummer/"+Phone+"/lastname";
    window.open(Link,"FindNumber","width=900,height=700,toolbar=0,resizable=1,location=0,menubar=0");
    return false;
}

//---------------------------------------------------------------------------------------
function ShowSite(Site)
{		
    window.open(Site,"DHV","width=900,height=800,toolbar=0,resizable=1,location=0,menubar=0");
    return false;
}

function CheckSizePopup(x,y)
{
    // See how much room we really got
    var rx = 0;       
    var ry = 0;
      
    if (document.body ) // other Explorers
    {   rx = document.body.clientWidth;
	    ry = document.body.clientHeight;
    }
    else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
    {   rx = document.documentElement.clientWidth;
	    ry = document.documentElement.clientHeight;
    }
    else if (window.innerHeight) // all except Explorer
    {   rx = window.innerWidth;
	    ry = window.innerHeight;
    }
    else if( window.dialogWidth )
    {   rx = window.dialogWidth;
        ry = window.dialogHeight;
    }
    
    if( rx>0 && ry>0 )
    {   rx = x - rx;
        ry = y - ry;
        x += rx - 30;
        y += ry - 90;
        window.resizeTo(x, y);
    }
}

//---------------------------------------------------------------------------------------
function SizePopup(CtrlID)
{   var ctrl = document.getElementById(CtrlID);
    if( ctrl==null ) return;

    // Make room for the button and some extra space
    var x = ctrl.offsetWidth+26;
    var y = ctrl.offsetHeight+50;

//    alert(window.dialogWidth);

    if( window.dialogWidth!=undefined )
    {   window.dialogHeight=y+"px";
        window.dialogWidth=x+"px";
    }
    else if (window.resizeTo) 
    {	x = x + 30;
        y = y + 90;
        
        window.resizeTo(x, y);       
        // The popup size is set to the outer size, we want the inner size, but that is only available after the popup is really sized, so we use a timer for that
        setTimeout("CheckSizePopup("+x.toString()+","+y.toString()+");",100);
    }
}

//---------------------------------------------------------------------------------------
function ShowPopup(Url, popW, popH)
{   var w = 1024, h = 800;
    var pW = popW;
    var pH = popH; 
    var x = 0;
    var y = 0;  
    if( pW<=0 ) pW = 800;
    if( pH<=0 ) pH = 500;
  
  // Add extra parameter to fool the browsers cache....  
  var now = new Date();
  if( Url.indexOf("?")>0 )
     Url = Url + "&";
  else
     Url = Url + "?";
  Url = Url + "Ext=" + now.getHours()+now.getMinutes()+now.getSeconds();

  if (document.all) 
  {
    /* the following is only available after onLoad */
    w = document.body.clientWidth;
    h = document.body.clientHeight;
    y = window.screenTop;
    x = window.screenLeft;
  }
  else
  {   
      if( window.innerWidth )  w = window.innerWidth;
      if( window.innerHeight ) h = window.innerHeight;
      if( window.screenX ) x = window.screenX;
      if( window.screenY ) y = window.screenY;
  } 

  var leftPos = ((w-pW)/2)+x;
  var topPos = ((h-pH)/2)+y;
//alert( w + ',' + h + ','+x+','+y+','+pW+','+pH+','+leftPos+','+topPos);
   
   if (window.showModalDialog)    
   {   //var Ret = window.showModalDialog(Url,"","dialogWidth:"+popW+"px;dialogHeight:"+popH+"px;status:no;resizable:yes");
        var Ret = window.showModalDialog(Url,"","dialogWidth:"+pW+"px;dialogHeight:"+pH+"px;status:no;resizable:yes;center:yes");
        // it seems setting the width and height causes a small screen sometimes on screens with low resolution
        //var Ret = window.showModalDialog(Url,"","dialogWidth:"+popW+"px;dialogHeight:"+popH+"px;dialogTop:"+topPos+"px;dialogLeft:"+leftPos+"px;status:no;resizable:yes");
        if( Ret>0 )
        {  var l = window.location.href;
            var ol = l; 
            var p = l.toLowerCase().indexOf('#link');
            if( p>0 ) l = l.substring(0,p);
            var nl=l; 
            
            if( l.indexOf("NewBtn=Focus")<=0 )
            {  if( l.indexOf("?")>0 ) l = l + "&"; else l = l + "?";
                l = l + "NewBtn=Focus"; 
            } 

            if( Ret>1 )           
            {    if( nl==l ) 
                 { var randomnumber=Math.floor(Math.random()*20);
                    l = l + "&R=" + randomnumber;
                 }
                 l = l + "#link" + Ret;
            }
            window.location.href = l;
            //if( l.toLowerCase().indexOf('journal.aspx')>=0 ) window.location.href = l;
        } 
   }
   else
   {
       newwindow = window.open(Url,"","width="+popW+",height="+popH+",top="+topPos+",left="+leftPos+",toolbar=0,resizable=1,location=0,menubar=0,status=0");
        if (window.focus)  newwindow.focus(); 
   }
    return false;
}

//---------------------------------------------------------------------------------------
function ShowUser(User, Param)
{	if( Param==undefined ) Param = "";
    return ShowPopup("User.aspx?User="+User+Param,750,450);
}

//---------------------------------------------------------------------------------------
function ShowMessage(ID)
{	
    return ShowPopup("Message.aspx?ID="+ID,500,450);
}


//---------------------------------------------------------------------------------------
function GoJournal(Sel, PB, Ext)
{	
   if( Sel=='9' || Sel=='10' )
   {    __doPostBack(PB,'');
       return false;
   } 


    var i = Ext.indexOf("sel:"+Sel+"=");
    if( i>=0 )
    {  Ext = Ext.substring(i+Sel.length+5);
    } 

    i = Ext.indexOf("sel:");
    if( i>=0 )
    {  Ext = Ext.substring(0,i);
    } 
    ShowJournal(Ext);
    return false; 
}

//---------------------------------------------------------------------------------------
function ShowJournal(Params)
{	
    return ShowPopup("JournalItem.aspx"+Params, 750, 500);
}

//---------------------------------------------------------------------------------------
function ShowMail(Params)
{	
    return ShowPopup("Mail.aspx"+Params, 750, 500);
}

//---------------------------------------------------------------------------------------
function ShowAmivedi(Sel, PB, Ext)
{  var Amivedi = Ext + Sel;   	
    window.open(Amivedi,'Amivedi','width=900,height=800,toolbar=0,resizable=1,location=0,menubar=0,scrollbars=1');
    return false;
}

//---------------------------------------------------------------------------------------
function ShowPrint(Params)
{   window.open("Print.aspx?Type="+Params,'','width=900,height=800,toolbar=0,resizable=1,location=0,menubar=0,scrollbars=1');
    return false;
}

//---------------------------------------------------------------------------------------
function GoBack()
{  
    
//	        while( history.current.indexof(URL)<0 )
//	        {  history.back();
//	        }  	        

//    if( URL.length>0 )
//    {   history.go(URL);         
//    } 
//    else 
        history.back();
       return false; 

    //history.go(-1);
}

//---------------------------------------------------------------------------------------
function CopyAddress(Src, Dest, StripNumber)
{		
    var SrcField = document.getElementById (Src);
    var DestField = document.getElementById (Dest);
    var value = SrcField.value; 
   if( StripNumber ) 
   {   var p = value.length-1;
        while( p>0 )
        {   if( value.charAt(p,1)==' ' )
            {    value = value.substring(0,p);
                 p = 0;
            }
            else
                p--;  
        }  
    } 
    DestField.value = value; 
   return false;            
}

//---------------------------------------------------------------------------------------
function CopyFullAddress(Src1,Dest1,Src2,Dest2,Src3,Dest3,Src4,Dest4,Src5,Dest5)
{		
    var SrcField1 = document.getElementById (Src1);
    var DestField1 = document.getElementById (Dest1);
    DestField1.value = SrcField1.value; 
    var SrcField2 = document.getElementById (Src2);
    var DestField2 = document.getElementById (Dest2);
    DestField2.value = SrcField2.value; 
    var SrcField3 = document.getElementBy (Src3);
    var DestField3 = document.getElementBy (Dest3);
    DestField3.value = SrcField3.value; 
    var SrcField4 = document.getElementById (Src4);
    var DestField4 = document.getElementById (Dest4);
    DestField4.value = SrcField4.value; 
    var SrcField5 = document.getElementById (Src5);
    var DestField5 = document.getElementById (Dest5);
    DestField5.value = SrcField5.value; 
   return false; 
}


//---------------------------------------------------------------------------------------
function CheckClipBoard()
{   return; 
    try
	{   window.clipboard = new Clipboard();
	}
	catch (e)
	{
		alert("In firefox werk het kopieren van text standaard niet, volg de volgende stappen om dit aan te zetten:\n1) Type in de adres balk: 'about:config'\n2) Klik aan: signed.applets.codebase_principal_support = true\n");
	}
}

//---------------------------------------------------------------------------------------
function ClipBoardGrid(GridID)
{    
   g = document.getElementById(GridID);
   if( g!=null ) 
   {   var t = '';
       if(document.all)
           t = g.innerText;
       else
           t = g.textContent;
            
       ClipBoard(t,false);
   } 
}

//---------------------------------------------------------------------------------------
function ClipBoard(Text, UseFormat, Silent) 
{
    CheckClipBoard();

   var h = document.getElementById ('holdtext');
   if(document.all)
       h.innerText = Text;
   else
       h.textContent = Text;

   Copied = h.createTextRange();
   if( !UseFormat) Copied.execCommand("RemoveFormat");
   Copied.execCommand("Copy");
   if( !Silent ) alert("Text naar het klembord gekopieerd\n\nGebruik 'plakken' in een tekstverwerker om de tekst op te vragen"); 
}

//---------------------------------------------------------------------------------------
function ClipBoardCtrl(Ctrl, UseFormat) 
{
    CheckClipBoard();
   //alert(Ctrl); 
   var h = document.getElementById (Ctrl);
   //alert(h.innerText); 
   Copied = h.createTextRange();
   if( !UseFormat) Copied.execCommand("RemoveFormat");
   Copied.execCommand("Copy");
   //alert("Text naar het klembord gekopieerd\n\nGebruik 'plakken' in een tekstverwerker om de tekst op te vragen"); 
}


/*
function getWindowHeight() 
{  var myHeight = 0;
    if( typeof( window.innerWidth ) == 'number' ) //Non-IE
         myHeight = window.innerHeight;
    else if( document.documentElement && document.documentElement.clientHeight )  //IE 6+ in 'standards compliant mode'
        myHeight = document.documentElement.clientHeight;
    else if( document.body && document.body.clientHeight )  //IE 4 compatible
        myHeight = document.body.clientHeight;
    return myHeight; 
}

function getScrollTop()
{  var scrOfY = 0;
    if( typeof(window.pageYOffset) == 'number' )  //Netscape compliant
        scrOfY = window.pageYOffset;
    else if( document.body && document.body.scrollTop )  //DOM compliant
        scrOfY = document.body.scrollTop;
    else if( document.documentElement && document.documentElement.scrollTop )  //IE6 standards compliant mode
        scrOfY = document.documentElement.scrollTop;
    return scrOfY;
}

function ScrollPage()
{    var img = document.getElementById ("divLost");
      if( img!=null )
      {   var wh = getWindowHeight();
           var wt = getScrollTop();
           var dh = img.style.height+0; 
           var dt = img.style.top+0; 
           if( dt!=0 ) dt = parseInt(img.style.top);
           if( dh!=0 ) dh = parseInt(img.style.height);
      
           img.style.position = "absolute";
//                       alert(dt);
           //alert( img.clientTop ) ; //img.style.top& "," & document.body.scrollTop & "," & img.style.height & "," & document.body.clientHeight );
      
           if( dt<wt )
           {  alert("Div: "+img.style.top+" Scroll: "+wt);
               img.style.top=wt;
               
           }
           else if( (dt+dh)>(wt+wh) )
               img.style.top = wt+wh-dh;
      } 
}  
onscroll="ScrollPage();" 
*/
   
//---------------------------------------------------------------------------------------
function StartTimer (FieldID, Sec, PostBackID) 
{   
    var Field = document.getElementById(FieldID);
//   alert(Sec+FieldID); 
    if( Field!=null ) 
    {   Field.innerHTML = Sec;
    }
     
    Sec--; 
    if( Sec>0 ) 
    {   timerID = setTimeout("StartTimer('"+FieldID+"',"+Sec+",'"+PostBackID+"')",1000);
         timerRunning = true;
    } 
    else if( PostBackID.length>0 )
    {  __doPostBack(PostBackID,'');
    } 
    

} 

//------------------------------------------------------------------------
function AIKeyDown(target)
{
    alert(target);
    //if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13))
   // {
   //     __doPostBack(target, '');
   //     return false;
   // }
    return true;
}

/*
//---------------------------------------------------------------------------------------
function ToggleCtrl(PanelId)
{	   
     var Panel = document.getElementById (PanelId);

    alert(Panel.style.height);

     if( Panel.style.visiblity=='hidden' )
     {  Panel.style.height   = 'auto';
        Panel.style.visibility = 'visible';
     } 
     else 
     {  Panel.style.height   = '0';
         Panel.style.visibility = 'hidden';
     } 
    alert(Panel.style.visiblity);
    
    return false; 
}
*/

//---------------------------------------------------------------------------------------
function ToggleElement(Panel)
{	   
     if( Panel ) 
     {   if( Panel.style.visibility=='visible' )
         {   Panel.style.height   = '1px';
             Panel.style.lineHeight = 'normal';
             Panel.style.visibility = 'hidden';
             Panel.style.overflow = 'hidden';
         } 
         else 
         {   Panel.style.height   = 'auto';
             Panel.style.lineHeight = 'normal';
             Panel.style.visibility = 'visible';
             Panel.style.overflow = 'hidden';
         } 
     } 
     return false; 
}

//---------------------------------------------------------------------------------------
function ShowHideElement(Panel, Value)
{	   
     if( Panel ) 
     {  if( Value )
         {    Panel.style.height   = 'auto';
              Panel.style.lineHeight = 'normal';
              Panel.style.visibility = 'visible';
              Panel.style.overflow = 'hidden';
         } 
        else 
        {    Panel.style.height   = '1px';
             Panel.style.lineHeight = 'normal';
             Panel.style.visibility = 'hidden';
             Panel.style.overflow = 'hidden';
         } 
     } 
     return false; 
}

//---------------------------------------------------------------------------------------
function ShowElement(Panel)
{	   
     return ShowHideElement(Panel,true);
}

//---------------------------------------------------------------------------------------
function HideElement(Panel)
{	   
     return ShowHideElement(Panel,false);
}

//---------------------------------------------------------------------------------------
function ShowCtrl(PanelId)
{	   
     var Panel = document.getElementById (PanelId);
     return ShowHideElement(Panel,true);
}

//---------------------------------------------------------------------------------------
function HideCtrl(PanelId)
{	   
     var Panel = document.getElementById (PanelId);
     return ShowHideElement(Panel,false);
}

//---------------------------------------------------------------------------------------
function ShowHideCtrl(PanelId,Value)
{	       
     var Panel = document.getElementById (PanelId);
     return ShowHideElement(Panel,Value);
}

//---------------------------------------------------------------------------------------
function ToggleCtrl(PanelId)
{	       
     var Panel = document.getElementById (PanelId);
     return ToggleElement(Panel);
}


//---------------------------------------------------------------------------------------
function NewFormWarning(Sel, PB)
{
       
    var S;
    if( Sel=="1" )
        S = "Zoek voordat je een formulier aanmaakt goed of het dier niet al gevonden is. Controleer ook of het dier niet eerder al als vermist is opgegeven";
    else if( Sel=="2" ) 
        S = "Zoek voordat je een formulier aanmaakt goed of het dier niet al als vermist is opgegeven. Controleer ook of het dier niet eerder al als gevonden is opgegeven";
    else  
        S = "Controleer goed of het dier niet eerder al is ingevoerd";

    if( !confirm(S) ) return;

    if( PB.length>0 && PB.toUpperCase()!="UNDEFINED" ) 
    {   __doPostBack(PB,'');
    }
}  

//---------------------------------------------------------------------------------------
function SendGroupMail(Sel, PB)
{   var T = "";   
    if( Sel.indexOf('&')>0 )
    {   T = Sel.substring(Sel.indexOf('&')+1);
        Sel = Sel.substring(0,Sel.indexOf('&'));        
    }
        
    EMailCCTo( '','',Sel, 'Stichting Dierenhulpverlening Woerden e.o.', T );
    return false; 
}  

//---------------------------------------------------------------------------------------
function ShowXTab(x, y)
{  alert(x + "-" + y);
    var fx = document.getElementById(x);
    var fy = document.getElementById(y);

    fy.style.height   = 'auto';
    fy.style.visibility = 'visible';
     
} 

//---------------------------------------------------------------------------------------
function HideXTab(x, y)
{
    var fx = document.getElementById(x);
    var fy = document.getElementById(y);
    fy.style.height   = '0';
    fy.style.visibility = 'hidden';
    fy.style.overlow = 'hidden'; 
} 

		//-->

