//Wlk_qt function
//This is version 0.7......name change only v 0.5 ....adding in JS embed that actually works! (but sucks to use as it no longer involves just one tag)

//love, walker.

function write_wlkqt(video, width, height, controller, scale, qttype, autoplay)
{
	str = '<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"  CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab#version=7,0,0,0" WIDTH="'+width+'" HEIGHT="'+height+'">'+'<PARAM NAME="controller" VALUE="'+controller+'">'+'<PARAM NAME="scale" VALUE="'+scale+'">'+'<PARAM NAME="type" VALUE="'+qttype+'">'+'<PARAM NAME="autoplay" VALUE="'+autoplay+'">'+'<PARAM NAME="target" VALUE="myself">'+'<PARAM NAME="src" VALUE="'+video+'">'+'<PARAM NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/index.html">'+'<EMBED CONTROLLER="'+controller+'" WIDTH="'+width+'" HEIGHT="'+height+'" AUTOPLAY="'+autoplay+'" SCALE="'+scale+'" TARGET="myself" SRC="'+video+'" type="'+qttype+'" PLUGINSPAGE="http://www.apple.com/quicktime/download/index.html"></EMBED>'+'</OBJECT>';
	document.write(str);
}