function InsertDIYMovie()
{
document.write('<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="480" height="370" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n');
document.write(' <param name="src" value="http://www.locktileusa.com/locktile_on_diy.mov">\n');
document.write('<param name="autoplay" value="true">\n');
document.write('<param name="controller" value="true">\n');
document.write('<param name="loop" value="true">\n');
document.write('<EMBED src="http://www.locktileusa.com/locktile_on_diy.mov" width="480" height="370" autoplay="true" controller="true" loop="true" pluginspage="http://www.apple.com/quicktime/download/">\n');
document.write('</EMBED>\n');
document.write('</OBJECT>\n');
}

var Mac = (navigator.userAgent.indexOf("mac")!=-1)  || (navigator.userAgent.indexOf("Mac")!=-1);
var Opera7 = (navigator.userAgent.indexOf('Opera 7')!=-1);
var Opera = (navigator.userAgent.indexOf('Opera')!=-1);
var MSIE = (navigator.userAgent.indexOf('MSIE')!=-1);
var Mozilla =  (navigator.userAgent.indexOf('Gecko')!=-1);
var NS6 = (navigator.userAgent.indexOf('Netscape')!=-1 && navigator.userAgent.indexOf('Gecko')!=-1);
var NS4 =(document.layers);
var Konqeror = (navigator.userAgent.indexOf('Konqueror')!=-1);

function S2XToggleLayer(objId, displayStyle)
{
    if(objId == ''){ return; }
    objId = document.getElementById( objId );
    if(!objId){ return; }

    if(objId.style.display == 'none' || objId.style.display == ''){
        if(isNaN(displayStyle)){ displayStyle = 'inline'; }
        objId.style.display = displayStyle;
    } else {
        objId.style.display = 'none';
    }
}  //  S2XToggleLayer

function S2XPopupWindow(url, target, width, height,
                        toolbar, scrollbars,
                        location, statusbar, menubar, resizable)
{
    if(isNaN(width)){ width = 400; }
    if(isNaN(height)){ height = 300; }
    if(isNaN(toolbar)){ toolbar = 0; }
    if(isNaN(scrollbars)){ scrollbars = 1; }
    if(isNaN(location)){ location = 0; }
    if(isNaN(statusbar)){ statusbar = 0; }
    if(isNaN(menubar)){ menubar = 0; }
    if(isNaN(resizable)){ resizable = 1; }

    window.open(url, target, 'width=' + width + ',height=' + height + ',toolbar=' + toolbar + ',scrollbars=' + scrollbars + ',location=' + location + ',statusbar=' + statusbar + ',menubar=' + menubar + ',resizable=' + resizable);
}  //  S2XPopupWindow

function S2XGo (url)
{
    window.location.href = url;
}