//Random iframes content - © Dynamic Drive (www.dynamicdrive.com)
//For full source code, and Terms Of use, visit http://dynamicdrive.com
//This credit MUST stay intact for legal use
//Updated in http://dynamicdrive.com/forums for multiple use by:


var randomcontent=new Array()
randomcontent[0]="vorschau/akkordeon.htm"
randomcontent[1]="vorschau/bass.htm"
randomcontent[2]="vorschau/geige.htm"
randomcontent[3]="vorschau/gitarre.htm"
randomcontent[4]="vorschau/posaune.htm"
randomcontent[5]="vorschau/sax.htm"
randomcontent[6]="vorschau/schlagzeug.htm"
randomcontent[7]="vorschau/vibraphon.htm"
randomcontent[8]="vorschau/keyboard.htm"

randomcontent.iframeprops='name="Instrument" width="354" height="170" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"'


var randomcontent2=new Array()
randomcontent2[0]="vorschau/valerie.htm"
randomcontent2[1]="vorschau/estella.htm"
randomcontent2[2]="vorschau/flavia.htm"
randomcontent2[3]="vorschau/helen.htm"
randomcontent2[4]="vorschau/milena.htm"
randomcontent2[5]="vorschau/antonella.htm"
randomcontent2[6]="vorschau/irene.htm"
randomcontent2[7]="vorschau/laura.htm"
randomcontent2[8]="vorschau/annette.htm"
randomcontent2[9]="vorschau/johanna.htm"
randomcontent2[10]="vorschau/delia.htm"
randomcontent2[11]="vorschau/christine.htm"


randomcontent2.iframeprops='name="Gesang" width="354" height="170" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"'

//No need to edit after here
function random_iframe(){
if (!document.all&&!document.getElementById)
return;
this.content=arguments[0];
random_iframe.num=random_iframe.num? random_iframe.num+1 : 1;
this.frame_id='dynstuff'+random_iframe.num;
document.write('<iframe id="'+this.frame_id+'" src="" '+this.content.iframeprops+'></iframe>');
this.frame=document.getElementById? document.getElementById(this.frame_id) : document.all[this.frame_id];
var cacheobj=this;
this.onloadfunc=function(){
cacheobj.frame.src=cacheobj.content[Math.floor(Math.random()*cacheobj.content.length)]
};
if ( typeof window.addEventListener != "undefined" )
    window.addEventListener( "load", this.onloadfunc, false );
else if ( typeof window.attachEvent != "undefined" )
    window.attachEvent( "onload", this.onloadfunc );
else {
    if ( window.onload != null ) {
        var oldOnload = window.onload;
        window.onload = function ( e ) {
            oldOnload( e );
            cacheobj.onloadfunc();
        };
    }
    else
        window.onload = this.onloadfunc;
}
}

