/***********************************************
* Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

// Erzeuge das Array. -----------------------------------------
var tagline = new Array();

tagline[0] = "355";
tagline[1] = "354";
tagline[2] = "333";
tagline[3] = "191";
tagline[4] = "318";
tagline[5] = "87";


// Zufallszahlengenerator
function zufallszahl(n) {
  zahl = Math.floor(Math.random() * (n + 1));
  return zahl;
 }

$papgei=tagline[zufallszahl(tagline.length - 1)];


if ($papgei==355) {
$img1="000488"
// document.write($papgei+" / "+$img1 +" / "+ "000235");
}

else if ($papgei==62)
   {
$img1="000487"
//   document.write($papgei+" / "+$img1 +" / " + "000106");
   }


else if ($papgei==333)
   {
$img1="000460"
//   document.write($papgei+" / "+$img1 +" / "+ "000140");
   }
else if ($papgei==191)
   {
$img1="000270"
//   document.write($papgei+" / "+$img1  +" / "+ "000270");
   }

else if ($papgei==318)
   {
$img1="000440"
//   document.write($papgei+" / "+$img1 +" / "+ "000184");
   }

else
   {
$img1="000139"
//   document.write($papgei+" / "+$img1);
   }


//document.write($papgei+" / "+$img1);

var imageran='<a href="http://www.christfindetchrist.de/index.php?page=view_profile&id=' + $papgei + '" target=_parent><img src="http://www.christfindetchrist.de/photos/' + $img1 + '_1_thumb.jpg" border=0 height="78"></a>'


// Erzeuge das Array. -----------------------------------------
var tagline = new Array();

tagline[0] = "261";
tagline[1] = "117";
tagline[2] = "296";
tagline[3] = "195";
tagline[4] = "111";
tagline[5] = "253";

// Zufallszahlengenerator
function zufallszahl(n) {
  zahl = Math.floor(Math.random() * (n + 1));
  return zahl;
 }

$popo=tagline[zufallszahl(tagline.length - 1)];


if ($popo==261) {
$img1="000362"
}

if ($popo==117) {
$img1="000185"
}

if ($popo==296) {
$img1="000412"
}

if ($popo==195) {
$img1="000276"
}

if ($popo==111) {
$img1="000178"
}

if ($popo==253) {
$img1="000353"
}


var zweites='<a href="http://www.christfindetchrist.de/index.php?page=view_profile&id=' + $popo + '" target=_parent><img src="http://www.christfindetchrist.de/photos/' + $img1 + '_1_thumb.jpg" border=0 height="78"></a>'



// Erzeuge das Array. -----------------------------------------
var tagline = new Array();

tagline[0] = "1283";
tagline[1] = "272";
tagline[2] = "163";
tagline[3] = "150";
tagline[4] = "275";
tagline[5] = "210";


// Zufallszahlengenerator
function zufallszahl(n) {
  zahl = Math.floor(Math.random() * (n + 1));
  return zahl;
 }

$pipi=tagline[zufallszahl(tagline.length - 1)];

if ($pipi==1283) {
$img1="001582"
}

if ($pipi==272) {
$img1="000378"
}

if ($pipi==163) {
$img1="000239"
}

if ($pipi==150) {
$img1="000206"
}

if ($pipi==275) {
$img1="000384"
}

if ($pipi==210) {
$img1="000299"
}

var drittes='<a href="http://www.christfindetchrist.de/index.php?page=view_profile&id=' + $pipi + '" target=_parent><img src="http://www.christfindetchrist.de/photos/' + $img1 + '_1_thumb.jpg" border=0 height="78"></a>'







// Erzeuge das Array. -----------------------------------------
var tagline = new Array();

tagline[0] = "189";
tagline[1] = "326";
tagline[2] = "175";
tagline[3] = "67";
tagline[4] = "276";
tagline[5] = "109";


// Zufallszahlengenerator
function zufallszahl(n) {
  zahl = Math.floor(Math.random() * (n + 1));
  return zahl;
 }

$aaa=tagline[zufallszahl(tagline.length - 1)];


if ($aaa==189) {
$img1="000267"
}

if ($aaa==326) {
$img1="000452"
}

if ($aaa==175) {
$img1="000252"
}

if ($aaa==67) {
$img1="000113"
}

if ($aaa==276) {
$img1="000385"
}

if ($aaa==109) {
$img1="000177"
}



var viertes ='<a href="http://www.christfindetchrist.de/index.php?page=view_profile&id=' + $aaa + '" target=_parent><img src="http://www.christfindetchrist.de/photos/' + $img1 + '_1_thumb.jpg" border=0 height="78"></a>'




// Erzeuge das Array. -----------------------------------------
var tagline = new Array();

tagline[0] = "86";
tagline[1] = "157";
tagline[2] = "195";
tagline[3] = "89";
tagline[4] = "226";
tagline[5] = "155";


// Zufallszahlengenerator
function zufallszahl(n) {
  zahl = Math.floor(Math.random() * (n + 1));
  return zahl;
 }

$aaa=tagline[zufallszahl(tagline.length - 1)];


if ($aaa==86) {
$img1="000137"
}

if ($aaa==157) {
$img1="000230"
}

if ($aaa==195) {
$img1="000276"
}

if ($aaa==89) {
$img1="000143"
}

if ($aaa==226) {
$img1="000318"
}

if ($aaa==155) {
$img1="000228"
}

var fuenftes ='<a href="http://www.christfindetchrist.de/index.php?page=view_profile&id=' + $aaa + '" target=_parent><img src="http://www.christfindetchrist.de/photos/' + $img1 + '_1_thumb.jpg" border=0 height="78"></a>'








//Specify the slider's width (in pixels)
var sliderwidth="650px"
//Specify the slider's height
var sliderheight="80px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#fffeee"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''

leftrightslide[0]= imageran ;
leftrightslide[1]= zweites ;
leftrightslide[2]=drittes ;
leftrightslide[3]=viertes ;
leftrightslide[4]=fuenftes ;


//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=1


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}

