/* * SimpleModal Basic Modal Dialog * http://www.ericmmartin.com/projects/simplemodal/ * http://code.google.com/p/simplemodal/ * * Copyright (c) 2010 Eric Martin - http://ericmmartin.com * * Licensed under the MIT license: *   http://www.opensource.org/licenses/mit-license.php * * Revision: $Id: basic.js 236 2010-03-09 06:04:40Z emartin24 $ * */jQuery(function ($) {	$('#basic-modal input.basic, #basic-modal a.basic').click(function (e) {		e.preventDefault();		$('#basic-modal-content').modal();	});});//function querySt(ji) {//hu = window.location.search.substring(1);//gy = hu.split("&");//for (i=0;i<gy.length;i++) {//ft = gy[i].split("=");//if (ft[0] == ji) {//return ft[1];//}//}//}//var koko = querySt("action");//document.write(koko);//document.write("<br>");//document.write(hu);//document.write("<hr>");//$(document).ready(function(){    //if(document.getElementById('callme')&&(hu==false))	//{		//jQuery(function ($) {	//	$(document).ready(function() {				//	$('#basic-modal-content').modal();	//	});	//});	//	}  //});var headline_count; var headline_interval; var old_headline = 0; var current_headline = 0;  $(document).ready(function(){   headline_count = $("div.headline").size();   $("div.headline:eq("+current_headline+")").css('top','5px');    headline_interval = setInterval(headline_rotate,5000); //time in milliseconds   $('#panelRSS').hover(function() {     clearInterval(headline_interval);   }, function() {     headline_interval = setInterval(headline_rotate,5000); //time in milliseconds     headline_rotate();   }); });  function headline_rotate() {   current_headline = (old_headline + 1) % headline_count;    $("div.headline:eq(" + old_headline + ")").animate({top: -205},"slow", function() {     $(this).css('top','210px');   });   $("div.headline:eq(" + current_headline + ")").show().animate({top: 5},"slow");     old_headline = current_headline; }
