﻿      
    
window.onload = function(){

    var mySticky = TempValidateIntroTxt + '<br><input  '
 +'type="button" onclick="CreateBookmarkLink();__doPostBack(\'LnkTempSave\',\'\')"'
 +'id="BtnTempSave" name="BtnTempSave" class="BtnTempSave" value="'+ BtnTempValidateTxt +'"'
 +'onmouseover="return overlib2(\''+BtnTempValidateToolTipTxt+'\','
 +'FGCLASS,\'cpfg\', TEXTPADDING,4, TEXTFONTCLASS,\'cptxt\','
 +'OFFSETX,-5, OFFSETY,20, VAUTO, WRAP, BASE,2);" '
 +'onmouseout="nd2();"/>'; 

var closeimg =
  '<img src="/images/publicities/close.gif" alt="Click to Close" '
 +'width="12" height="11" border="0">';  


  overlib(mySticky,
 STICKY, CAPTION,TempValidateTitleTxt, CAPTIONPADDING,4, TEXTPADDING,8,
 CGCLASS,'olcg', FGCLASS,'olfg', CAPTIONFONTCLASS,'olcap', TEXTFONTCLASS,'oltxt',
 CLOSETEXT,closeimg, MIDX,-450, MIDY,150, WRAP, BASE,3, SCROLL,
 STATUS,'STICKY popup with link and secondary popup and FILTER for IE v5.5+',
 FILTER, CAPBELOW)
 }
//DRAGGABLE,


function CreateBookmarkLink() { 
    title = document.title;
    var key;
    var theForm = window.document.forms[0];
     for (var i=0;i<theForm.elements.length;i++){
        var c = theForm.elements[i];        		        
        if (c.type == 'hidden' && c.id.indexOf('Hidkey') > -1) {
                key = c.value;
                break;
            }		                            		                       		                   			        		        
       }  
     url = location.href;      
       if(url.indexOf("key=") == -1){       
            url = location.href + "?key=" +key ; 
    }  
    //urlIE = location.href + "/?key=" +key ;  
    if (window.sidebar) { // Mozilla Firefox Bookmark		
        window.sidebar.addPanel(title, url,"");	} 
    else if( window.external ) { // IE Favorite		
        window.external.AddFavorite( url, title); }	
   else if(window.opera && window.print) { // Opera Hotlist		return true; 
   } }


