function sendEvent(swf,typ,prm) { 
  thisMovie(swf).sendEvent(typ,prm); 
};

function getUpdate(typ,pr1,pr2,swf) { 
  if(typ == 'state') { //alert('the current state is: '+pr1);
  }
};

function thisMovie(swf) {
  if(navigator.appName.indexOf("Microsoft") != -1) {
    return window[swf];
  } else {
    return document[swf];
  }
};

function gomin(interval){
	sendEvent('jstest','scrub',interval)
}

function getLength(swf) { 
	var len = thisMovie(swf).getLength(); 
	alert('the length of the playlist is: '+len);
};

function delay(id) { 
//alert(this.id)
	var t=setTimeout('Element.show("d5")',2000)
};

function showss(id) { 
Element.show(id);
};

function ShowIfAnyPlugin(container, totalNum, order, movie, order2) {
	if(IfAnyPlugin())
	{
		LoadMovie(container,totalNum,order,movie,order2);
	} 
}