function validateMe (page,position){
$.ajax({
  url: page+'&output=json',
  success: function(html){
    var myJSONObject = html
var patt1 = /error/;
var result = myJSONObject.search(patt1);
var li = position;
if (result > 0) {
$("#p" + li).append("<b>Failed</b>");
}
else {
$("#p" + li).append("<b>Passed</b>");
}
  }
});
};


$(document).ready(function(){

$("#flyOutMenu li").hover(
 function(){ $("ul", this).fadeIn("slow"); },
 function() { }
);
if (document.all) {
 $("#flyOutMenu li").hoverClass ("sfHover");
 }
});

$.fn.hoverClass = function(c) {
 return this.each(function(){
 $(this).hover(
 function() { $(this).addClass(c); },
 function() { $(this).removeClass(c); }
 );
 });
}; 




function myPopup() {
window.open( "../../disclaimer.aspx", "Disclaimer", 
"status = 1, height = 400, width = 500, resizable = 0" )
}
