var counter = 0
var slideshow_fr_images = new Array();
slideshow_fr_images[0] = '<div id=\'slideshow_fr_div_0\' name=\'slideshow_fr_div_0\'><a href=\'http://www.frankfurtrentals.de/php/show/show.php?lang=en&object_id=101221\' target=\'_blank\'><img src=\'http://www.frankfurtrentals.de/php/bilder/thumb_1199808848.jpg\' alt=\'Bad Homburg: High quality Bungalow in best location\' /><br />Bad Homburg: High quality Bungalow in best location</a></div>';
slideshow_fr_images[1] = '<div id=\'slideshow_fr_div_1\' name=\'slideshow_fr_div_1\'><a href=\'http://www.frankfurtrentals.de/php/show/show.php?lang=en&object_id=101210\' target=\'_blank\'><img src=\'http://www.frankfurtrentals.de/php/bilder/thumb_1195214033.jpg\' alt=\'Nordend: Classical old style flat with 1 BR\' /><br />Nordend: Classical old style flat with 1 BR</a></div>';
slideshow_fr_images[2] = '<div id=\'slideshow_fr_div_2\' name=\'slideshow_fr_div_2\'><a href=\'http://www.frankfurtrentals.de/php/show/show.php?lang=en&object_id=101406\' target=\'_blank\'><img src=\'http://www.frankfurtrentals.de/php/bilder/thumb_1317154348.jpg\' alt=\'Bad Homburg: Prestigious Villa from 1902 for rent\' /><br />Bad Homburg: Prestigious Villa from 1902 for rent</a></div>';
slideshow_fr_images[3] = '<div id=\'slideshow_fr_div_3\' name=\'slideshow_fr_div_3\'><a href=\'http://www.frankfurtrentals.de/php/show/show.php?lang=en&object_id=101282\' target=\'_blank\'><img src=\'http://www.frankfurtrentals.de/php/bilder/thumb_1273261664.jpg\' alt=\'FFM-Sachsenhausen: Furnished 2 BR near the river\' /><br />FFM-Sachsenhausen: Furnished 2 BR near the river</a></div>';
slideshow_fr_images[4] = '<div id=\'slideshow_fr_div_4\' name=\'slideshow_fr_div_4\'><a href=\'http://www.frankfurtrentals.de/php/show/show.php?lang=en&object_id=101412\' target=\'_blank\'><img src=\'http://www.frankfurtrentals.de/php/bilder/thumb_1327236283.jpg\' alt=\'Dreieich: Cute 2 BR apartment on attic floor\' /><br />Dreieich: Cute 2 BR apartment on attic floor</a></div>';
//<script>

    document.write('<div id="slideshow_fr" name="slideshow_fr">');

    for (i = 0; i < slideshow_fr_images.length; i++)
    {
        document.write(slideshow_fr_images[i]);
    }

    document.write('</div>');

    /*var isFirst = true;
var lastItem;*/

    $(document).ready(function(){
        document.getElementById('slideshow_fr').style.display = 'inline';
        $('#slideshow_fr').innerfade({
            speed: 1000,
            timeout: 4000,
            type: 'sequence'
        });

    });
  
    //-->


