
fsnd_statistics = new Image(1,1);
fsnd_single_page = new Image(1,1);
fsnd_statistics.src = "http://counter.fsnd.de/add_stats.php?id=82&pwd=hernien"+"&refer="+escape(document.referrer)+"&scrd="+screen.colorDepth+"&scrw="+screen.width+"&doc_url="+document.URL;
fsnd_single_page.src = "http://counter.fsnd.de/single_page.php?id=82&pwd=hernien="+document.URL;

// for add to favorites
var urlAddress = escape(document.URL); 
var pageName = "Leistenbruch Hernien"; 

// JavaScript Document
var img1a = new Image(1,1);
var img1b = new Image(1,1);
var img2a = new Image(1,1);
var img2b = new Image(1,1);
var img3a = new Image(1,1);
var img3b = new Image(1,1);

img1a.src = "/fileadmin/images/swap/img1a.jpg";
img1b.src = "/fileadmin/images/swap/img1b.jpg";
img2a.src = "/fileadmin/images/swap/img2a.jpg";
img2b.src = "/fileadmin/images/swap/img2b.jpg";
img3a.src = "/fileadmin/images/swap/img3a.jpg";
img3b.src = "/fileadmin/images/swap/img3b.jpg";

//alert( "Starting" );

function swapImg( img1, img2 )
{
	img1.src = img2.src;
}

function addToFavorites() 
{ 
   if( window.external ) 
   { 
       window.external.AddFavorite(urlAddress,pageName); 
   } 
   else 
   { 
       alert("Sorry! Your browser doesn't support this function."); 
   } 
} 

var j = jQuery.noConflict();

j(document).ready(function() 
 {	
   //j('#scrollInfo').marquee();
   j('#scrollInfo').fadeIn( 2000, function() 
	  {
        // Animation complete
      });
   
        // basic version is: $('div.demo marquee').marquee() - but we're doing some sexy extras
        
        j('#scrollInfo').marquee('pointer').mouseover(function () {
            $(this).trigger('stop');
        }).mouseout(function () {
            $(this).trigger('start');
        }).mousemove(function (event) {
            if ($(this).data('drag') == true) {
                this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
            }
        }).mousedown(function (event) {
            $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
        }).mouseup(function () {
            $(this).data('drag', false);
        });
		
 });