<!-- Begin

kGrayC = 'gray';
kGray = 'gray';
kBlackC = '#000000';
kBlack = 'black';
kCoralC = 'coral';
kCoral = 'coral';
kFuchsiaC = '#f00c0a';
kFuchsia = 'fuchsia';
kCharcoalC = 'lightslategray';
kCharcoal = 'charcoal';
kDarkPinkC = 'deeppink';
kDarkPink = 'dark pink';
kTealBlueC = 'teal';
kTealBlue = 'teal blue';
kPurpleC = 'palevioletred';
kPurple = 'purple';
kHunterGreenC = '#008080';
kHunterGreen = 'hunter green';
kkLeft = 'Left';
kkRight = 'Right';
var timeoutID;
myHTML = '';
myGalCol = '';
myUS = '_';
kBG = "#404040";
myJPG = 'jpg';
kBC = "#3d72aa";
myClass = ' CLASS="active"';
searchSt = "©";
re = new RegExp(searchSt, "g");
myDir = 'images/';
myTrans = myDir + "transparent.gif";
myRope = myDir + "tx.gif";
myDbcImage = '<IMG WIDTH="49" HEIGHT="17" Border="0" SRC="' + myDir + 'dbc_logo_print.gif">';
myFootMsg1 = 'This site and its contents are not in the public domain. All photos, stories and other content may not be used for any reason without the express written permission of grayswitch.© Detroit Bondage Club. All rights reserved. © All photos, graphics and contents &copy; 2005 by Detroit Bondage Club. All rights reserved.';
myFootMsg = myFootMsg1 + '<BR>Last modified: ' + document.lastModified;
myCartCent = '</TD></TR></TABLE>';
myLoff = 'url(' + myDir + 'b_off.gif)'; 
myLon = 'url(' + myDir + 'b_on.gif)';
myIMGCnt = 0;
myIDM = '';
myIDMA = '';
myIMGJPG = '.jpg';
IMG1Index = 1000;

var quotes = new Array( );
quotes[quotes.length] = {quote:"Gallery 1:<BR>© Sampler</H5>", author:"gallery_1", suffix:""};
quotes[quotes.length] = {quote:"Gallery 2:<BR>Early Ken</H5>at the ©", author:"gallery_2", suffix:""};
quotes[quotes.length] = {quote:"Gallery 3:<BR>boy david</H5>his web site", author:"gallery_3", suffix:""};
quotes[quotes.length] = {quote:"Gallery 4:<BR>A © Eagle Meet</H5>with boy david", author:"gallery_4", suffix:""};
quotes[quotes.length] = {quote:"Gallery 5:<BR>© Yahoo Group</H5>Pictures posted", author:"gallery_5", suffix:""};
quotes[quotes.length] = {quote:"Gallery 6:<BR>Ken Ties Up A New Friend</H5>", author:"gallery_6", suffix:""};
quotes[quotes.length] = {quote:"Gallery 8:<BR>Another Eagle Meet Visitor</H5>", author:"gallery_8", suffix:""};
quotes[quotes.length] = {quote:"Gallery 9:<BR>© Private Party</H5>A quiet night with friends!", author:"gallery_9", suffix:""};
quotes[quotes.length] = {quote:"Gallery 10:<BR>Birthday Boy</H5>An impromptu birthday celebration.", author:"gallery_10", suffix:""};
quotes[quotes.length] = {quote:"Gallery 11:<BR>8th Ann:</H5>The Bootblack Stand", author:"gallery_11", suffix:""};
quotes[quotes.length] = {quote:"Gallery 12:<BR>8th Ann:</H5>The First Dance", author:"gallery_12", suffix:""};
quotes[quotes.length] = {quote:"Gallery 13:<BR>8th Ann:</H5>Ken and Julio Mummify A", author:"gallery_13", suffix:""};
quotes[quotes.length] = {quote:"Gallery 14:<BR>8th Ann:</H5>Clothespins", author:"gallery_14", suffix:""};
quotes[quotes.length] = {quote:"Gallery 15:<BR>8th Ann:</H5>Jeff Montgomery Flogged", author:"gallery_15", suffix:""};
quotes[quotes.length] = {quote:"Gallery 17:<BR>2004 Demo</H5>Signup Stand", author:"gallery_17", suffix:""};
quotes[quotes.length] = {quote:"Gallery 18:<BR>2004 Demo</H5>boy david Part 1", author:"gallery_18", suffix:""};
quotes[quotes.length] = {quote:"Gallery 19:<BR>2004 Demo</H5>boy david Part 2", author:"gallery_19", suffix:""};
quotes[quotes.length] = {quote:"Gallery 20:<BR>2004 Demo</H5>Cross Play", author:"gallery_20", suffix:""};
quotes[quotes.length] = {quote:"Gallery 21:<BR>2004 Demo</H5>Dale Bags Dave", author:"gallery_21", suffix:""};
quotes[quotes.length] = {quote:"Gallery 22:<BR>2004 Demo</H5>Triangle Tied", author:"gallery_22", suffix:""};
quotes[quotes.length] = {quote:"Gallery 23:<BR>2004 Demo</H5>A Member of The Audience Joins In", author:"gallery_23", suffix:""};
quotes[quotes.length] = {quote:"Gallery 24:<BR>2004 Demo</H5>Another Volunteer", author:"gallery_24", suffix:""};
quotes[quotes.length] = {quote:"Gallery 25:<BR>2004 Demo</H5>Double Cross", author:"gallery_25", suffix:""};
quotes[quotes.length] = {quote:"Gallery 26:<BR>2004 Demo</H5>Free For All", author:"gallery_26", suffix:""};
quotes[quotes.length] = {quote:"Gallery 27:<BR>2004 Demo</H5>Dave Gets A Haircut", author:"gallery_27", suffix:""};
quotes[quotes.length] = {quote:"Gallery 28:<BR>2004 Demo</H5>Wheelchair", author:"gallery_28", suffix:""};
quotes[quotes.length] = {quote:"Gallery 29:<BR>2005 Demo</H5>C - Piss Barrel and Rubber Sleepsack", author:"gallery_29", suffix:"m"};
quotes[quotes.length] = {quote:"Gallery 30:<BR>2005 Demo</H5>Julio Paddles a Volunteer", author:"gallery_30", suffix:""};
quotes[quotes.length] = {quote:"Gallery 31:<BR>2005 Demo</H5>Julio Ties Talon Down", author:"gallery_31", suffix:""};
quotes[quotes.length] = {quote:"Gallery 32:<BR>2005 Demo</H5>A Gets Clothespinned", author:"gallery_32", suffix:""};
quotes[quotes.length] = {quote:"Gallery 33:<BR>2005 Demo</H5>C2 Gets Clothespinned", author:"gallery_33", suffix:""};
quotes[quotes.length] = {quote:"Gallery 34:<BR>2005 Demo</H5>Montage of the Event ", author:"gallery_34", suffix:"m"};
quotes[quotes.length] = {quote:"Gallery 35:<BR>2005 Demo</H5>C2 On The Cross", author:"gallery_35", suffix:""};
quotes[quotes.length] = {quote:"Member<BR>A:</H5>A bottom.", author:"members_a", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Dave:</H5>Meet the founder of the ©.", author:"members_dave", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>boy david:</H5>One of our most active members.", author:"members_david", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Gary:</H5>slave david&acute;s partner.", author:"members_gary", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>James:</H5>A very intense sadist.", author:"members_james", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>John:</H5>A bottom.", author:"members_john", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Julio:</H5>The sensuous switch.", author:"members_julio", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Ken:</H5>bondage<BR> Bondage?<BR> BONDAGE!", author:"members_ken", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Max:</H5>A Master.", author:"members_max", suffix:"m"};
quotes[quotes.length] = {quote:"Member<BR>Talon:</H5>Max\'s slave.", author:"members_talon", suffix:"m"};
  
var IMGIndex = new Array( );
var REQIndex = new Array( );

var myRP1 = new Array( );
myRP1[myRP1.length] = {pic:"dbc_info_32", wd:"187", ht:"250", alt:"Dave models hand cuffs at a LIFE Detroit demo"};
myRP1[myRP1.length] = {pic:"dbc_members_max_4", wd:"187", ht:"250", alt:"Max and Talon playing"};
myRP1[myRP1.length] = {pic:"dbc_gallery_12_6", wd:"187", ht:"250", alt:"by david in bondage"};
myRP1[myRP1.length] = {pic:"dbc_gallery_2_7", wd:"187", ht:"250", alt:"Ken tied"};
myRP1[myRP1.length] = {pic:"dbc_info_37", wd:"187", ht:"250", alt:"Ken tops James at the Detroit Eagle"};
myRP1[myRP1.length] = {pic:"dbc_gallery_34_3", wd:"187", ht:"250", alt:"A tops boy david at the 2005 Eagle Demo Night"};

var myRP2 = new Array( );
myRP2[myRP2.length] = {pic:"dbc_members_tom_1", wd:"250", ht:"187", alt:"At the Detroit Eagle"};
myRP2[myRP2.length] = {pic:"dbc_home_1", wd:"250", ht:"187", alt:"James"};
myRP2[myRP2.length] = {pic:"dbc_info_12", wd:"250", ht:"187", alt:"boy david being flogged at Camp It"};
myRP2[myRP2.length] = {pic:"dbc_info_24", wd:"250", ht:"187", alt:"Ken clothespins James at the Detroit Eagle"};
myRP2[myRP2.length] = {pic:"dbc_info_40", wd:"250", ht:"187", alt:"A being clothespinned by Julio"};
myRP2[myRP2.length] = {pic:"dbc_gallery_34_2", wd:"250", ht:"187", alt:"Impromptu demos at out 2005 Triangle Demo Night"};

var myRP3 = new Array( );
myRP3[myRP3.length] = {pic:"dbc_gallery_13_11", wd:"111", ht:"83", alt:"Julio and Ken mummify A"};
myRP3[myRP3.length] = {pic:"dbc_gallery_10_9", wd:"111", ht:"83", alt:"A guest at a DBC meeting"};
myRP3[myRP3.length] = {pic:"dbc_gallery_11_10", wd:"111", ht:"83", alt:"Ken tops A at the Detroit Eagle"};
myRP3[myRP3.length] = {pic:"dbc_gallery_12_14", wd:"111", ht:"83", alt:"boy david tied at the Eagle"};
myRP3[myRP3.length] = {pic:"dbc_gallery_14_5", wd:"111", ht:"83", alt:"James in clotehspins"};
myRP3[myRP3.length] = {pic:"dbc_gallery_11_11", wd:"111", ht:"83", alt:"2003 Triangle Demo Night"};

var myRP4 = new Array( );
myRP4[myRP4.length] = {pic:"dbc_info_19", wd:"250", ht:"187", alt:"Eagle demo night 2003"};
myRP4[myRP4.length] = {pic:"dbc_info_23", wd:"250", ht:"187", alt:"2004 Eagle Demo"};
myRP4[myRP4.length] = {pic:"dbc_info_25", wd:"250", ht:"187", alt:"Jeff Montgomery flogged"};
myRP4[myRP4.length] = {pic:"dbc_info_38", wd:"250", ht:"187", alt:"2004 Eagle demo"};
myRP4[myRP4.length] = {pic:"dbc_members_dave_2", wd:"250", ht:"187", alt:"Dave tries out some iron"};
myRP4[myRP4.length] = {pic:"dbc_gallery_34_1", wd:"250", ht:"187", alt:"President Dave Hill and Club secretary Julio"};

var myRP5 = new Array( );
myRP5[myRP5.length] = {pic:"dbc_gallery_15_16", wd:"111", ht:"83", alt:"The DBC and guest"};
myRP5[myRP5.length] = {pic:"dbc_gallery_21_19", wd:"111", ht:"83", alt:"Dave tries out a sleep sack"};
myRP5[myRP5.length] = {pic:"dbc_gallery_22_2", wd:"111", ht:"83", alt:"James ties a Triangle volunteer"};
myRP5[myRP5.length] = {pic:"dbc_gallery_25_8", wd:"111", ht:"83", alt:"James gets flogged"};
myRP5[myRP5.length] = {pic:"dbc_gallery_9_5", wd:"111", ht:"83", alt:"Dave puts James in his strait jacket"};
myRP5[myRP5.length] = {pic:"dbc_gallery_23_2", wd:"111", ht:"83", alt:"Demos at the Eagle"};

var myRP6 = new Array( );
myRP6[myRP6.length] = {pic:"dbc_gallery_26_14", wd:"111", ht:"83", alt:"2004 Eagle Demo"};myRP6[myRP6.length] = {pic:"dbc_info_23", wd:"111", ht:"83", alt:"2004 Eagle Demo"};
myRP6[myRP6.length] = {pic:"dbc_gallery_19_3", wd:"111", ht:"83", alt:"boy david with a Triangle volunteer"};
myRP6[myRP6.length] = {pic:"dbc_gallery_11_10", wd:"111", ht:"83", alt:"2004 Eagle demo"};
myRP6[myRP6.length] = {pic:"dbc_gallery_6_10", wd:"111", ht:"83", alt:"a visitor to the Detroit Eagle"};
myRP6[myRP6.length] = {pic:"dbc_gallery_19_7", wd:"111", ht:"83", alt:"cupping"};

var myRP7 = new Array( );
myRP7[myRP7.length] = {pic:"dbc_info_34", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};
myRP7[myRP7.length] = {pic:"dbc_gallery_10_3", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};
myRP7[myRP7.length] = {pic:"dbc_gallery_17_4", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};
myRP7[myRP7.length] = {pic:"dbc_gallery_18_2", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};
myRP7[myRP7.length] = {pic:"dbc_members_tom_3", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};
myRP7[myRP7.length] = {pic:"dbc_gallery_28_1", wd:"83", ht:"111", alt:"Please Visit the DBC Yahoo group"};

var myRP8 = new Array( );
myRP8[myRP8.length] = {pic:"dbc_gallery_35_2", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP8[myRP8.length] = {pic:"dbc_gallery_35_10", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP8[myRP8.length] = {pic:"dbc_gallery_35_11", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP8[myRP8.length] = {pic:"dbc_gallery_35_12", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP8[myRP8.length] = {pic:"dbc_gallery_35_7", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};

var myRP9 = new Array( );
myRP9[myRP9.length] = {pic:"dbc_gallery_29_3", wd:"250", ht:"187", alt:"C enters the piss barrel"};
myRP9[myRP9.length] = {pic:"dbc_gallery_29_1", wd:"250", ht:"187", alt:"C enters the piss barrel"};

var myRP10 = new Array( );
myRP10[myRP10.length] = {pic:"dbc_gallery_29_4", wd:"250", ht:"187", alt:"Max puts C into the rubber sleepsack"};
myRP10[myRP10.length] = {pic:"dbc_gallery_29_5", wd:"250", ht:"187", alt:"Max puts C into the rubber sleepsack"};

var myRP11 = new Array( );
myRP11[myRP11.length] = {pic:"dbc_gallery_30_1", wd:"187", ht:"250", alt:"Julio paddles ass"};
myRP11[myRP11.length] = {pic:"dbc_gallery_30_2", wd:"187", ht:"250", alt:"Julio paddles ass"};
myRP11[myRP11.length] = {pic:"dbc_gallery_30_3", wd:"187", ht:"250", alt:"Julio paddles ass"};

var myRP12 = new Array( );
myRP12[myRP12.length] = {pic:"dbc_gallery_31_4", wd:"250", ht:"187", alt:"Julio ties down Talon"};
myRP12[myRP12.length] = {pic:"dbc_gallery_31_5", wd:"250", ht:"187", alt:"Julio ties down Talon"};
myRP12[myRP12.length] = {pic:"dbc_gallery_31_2", wd:"250", ht:"187", alt:"Julio ties down Talon"};

var myRP13 = new Array( );
myRP13[myRP13.length] = {pic:"dbc_gallery_32_3", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP13[myRP13.length] = {pic:"dbc_gallery_32_8", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP13[myRP13.length] = {pic:"dbc_gallery_32_9", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP13[myRP13.length] = {pic:"dbc_gallery_32_10", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};
myRP13[myRP13.length] = {pic:"dbc_gallery_32_5", wd:"250", ht:"187", alt:"Ken plays with C2 on the cross"};

var myRP14 = new Array( );
myRP14[myRP14.length] = {pic:"dbc_gallery_33_1", wd:"250", ht:"187", alt:"Zippers on C2"};
myRP14[myRP14.length] = {pic:"dbc_gallery_33_3", wd:"250", ht:"187", alt:"Zippers on C2"};
myRP14[myRP14.length] = {pic:"dbc_gallery_33_4", wd:"250", ht:"187", alt:"Zippers on C2"};
myRP14[myRP14.length] = {pic:"dbc_gallery_33_5", wd:"250", ht:"187", alt:"Zippers on C2"};
myRP14[myRP14.length] = {pic:"dbc_gallery_33_2", wd:"250", ht:"187", alt:"Zippers on C2"};

var myRP15 = new Array( );
myRP15[myRP15.length] = {pic:"dbc_gallery_34_3", wd:"187", ht:"250", alt:"A works on boy david"};
myRP15[myRP15.length] = {pic:"dbc_gallery_34_4", wd:"187", ht:"250", alt:"A works on boy david"};
myRP15[myRP15.length] = {pic:"dbc_gallery_34_5", wd:"187", ht:"250", alt:"Dave mans the info booth"};

 <!--
// No rightclick script.
// Find more great scripts and applets at the JavaFile!
// http://www.javafile.com
// Do not delete this header!

var message=myFootMsg1; // Put your message for the alert box between the quotes.

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> 

<!-- End of  no right click script -->

function pageTopG(myPageG) {

myGalCol = 'G';
pageTop(myPageG);
myGalCol = '';

}

function pageTop(myPage) {

myPREFX = myPage;
parent.dbc_header.document.frm1.linknam1.style.backgroundImage = myLoff;
parent.dbc_header.document.frm1.linknam2.style.backgroundImage = myLoff;
parent.dbc_header.document.frm1.linknam3.style.backgroundImage = myLoff; 
parent.dbc_header.document.frm1.linknam4.style.backgroundImage = myLoff; 
parent.dbc_header.document.frm1.linknam5.style.backgroundImage = myLoff; 
parent.dbc_header.document.frm1.linknam6.style.backgroundImage = myLoff; 

switch (myPage) {
case('dbc_home'):
parent.dbc_header.document.frm1.linknam1.style.backgroundImage = myLon;
break;

case('dbc_members'):
parent.dbc_header.document.frm1.linknam2.style.backgroundImage = myLon;
break;

case('dbc_info'):
parent.dbc_header.document.frm1.linknam3.style.backgroundImage = myLon;
break;

case('dbc_gallery'):
parent.dbc_header.document.frm1.linknam4.style.backgroundImage = myLon; 
break;

case('dbc_links'):
parent.dbc_header.document.frm1.linknam5.style.backgroundImage = myLon;
break;

case('dbc_contact'):
parent.dbc_header.document.frm1.linknam6.style.backgroundImage = myLon;
break;
}

 myHTML += '<DIV ID="columnMain' + myGalCol + '">';
}

function pageMiddleG() {

myGalCol = 'G';
pageMiddle();
myGalCol = '';

}

function pageMiddle() {
myHTML += '</DIV><DIV ID="columnRight' + myGalCol + '">';
}

function footers() {

myHTML += '</DIV><DIV ID="footer">';

myCartSt();

myFootH = 'Detroit Bondage Club - Copyright 2005';

colText("", "F", myFootH, myFootMsg); 
myCartEnd();
myHTML += '</DIV>';
document.write(myHTML);
}

function colText(myHt, myCol, myHead, myBody) {

colSize(myCol);

if (myHead != '')
{
myDbcLogo(myHead);
myHTML += '</P><H1' + myTag + '>' + myNewComment + '</H1>' + myCartCent;
}

if (myBody != '')
{
myDbcLogo(myBody);
myHTT = (myHt != '')?'<HR>':'<BR><BR>';
myHTML += myDivSt + myNewComment + myHTT;
}
}

function colPicText(myH, myPic, myPicW, myPicH, myPicD, myAlign, myBodyT) {

myDbcLogo(myBodyT);

myHTT = (myH != '')?'<HR>':'<BR><BR>';

myHTML += '<A HREF="javascript:myNewWin(\'' + myDir + myPic + '.' + myJPG + '\')"' + myIDMA + '><IMG ALIGN="' + myAlign + '" ALT="' + myPicD + '" SRC="' + myDir + myPic + 't.' + myJPG + '" BORDER="0" WIDTH="' + myPicW + '" HEIGHT="' + myPicH + '"' + myIDM + '></A>' + myNewComment + myHTT;
}

function colPicTextg(myHg, myPicg, myPicWg, myPicHg, myPicDg, myAligng, myBodyTg) {

myJPG = 'gif';
colPicText(myHg, myPicg, myPicWg, myPicHg, myPicDg, myAligng, myBodyTg);
myJPG = 'jpg';
}

function colPicTextM(myR, myHm, myPicm, myPicWm, myPicHm, myPicDm, myAlignm, myBodyTm) {

REQIndex[myR] = myR;
myIMGCnt += 1;
myIDM = ' id="IMG' + myR + '"';
myIDMA = ' id="IMGA' + myR + '"';
colPicText(myHm, myPicm, myPicWm, myPicHm, myPicDm, myAlignm, myBodyTm);
myIDM = '';
myIDMA = '';
}

function IMGtimer() {

imageIniterval1 = setInterval("IMG1Next()",5000);

}

function IMG1Next() {

if (REQIndex[1] == '1')
{
IMGNext('1', myRP1);
}

if (REQIndex[2] == '2')
{
IMGNext('2', myRP2);
}

if (REQIndex[3] == '3')
{
IMGNext('3', myRP3);
}

if (REQIndex[4] == '4')
{
IMGNext('4', myRP4);
}

if (REQIndex[5] == '5')
{

IMGNext('5', myRP5);
}

if (REQIndex[6] == '6')
{
IMGNext('6', myRP6);
}


if (REQIndex[7] == '7')
{
IMGNext('7', myRP7);
}



if (REQIndex[8] == '8')
{
IMGNext('8', myRP8);
}



if (REQIndex[9] == '9')
{
IMGNext('9', myRP9);
}



if (REQIndex[10] == '10')
{
IMGNext('10', myRP10);
}



if (REQIndex[11] == '11')
{
IMGNext('11', myRP11);
}



if (REQIndex[12] == '12')
{
IMGNext('12', myRP12);
}



if (REQIndex[13] == '13')
{
IMGNext('13', myRP13);
}



if (REQIndex[14] == '14')
{
IMGNext('14', myRP14);
}



if (REQIndex[15] == '15')
{
IMGNext('15', myRP15);
}



}

function IMGNext(myIMG1cnt, myRP) {


if (IMGIndex[myIMG1cnt] < myRP.length - 1)
{
IMGIndex[myIMG1cnt] += 1;
}
else
{
IMGIndex[myIMG1cnt] = 0;
}

IMG1Index = IMGIndex[myIMG1cnt];
myIMG = myRP[IMG1Index];

myChngImg = document.getElementById('IMG' + myIMG1cnt)
myChngImg.src = myDir + myIMG.pic + 't' + myIMGJPG;
myChngImg.height = myIMG.ht;
myChngImg.width = myIMG.wd;
myChngImg.alt = myIMG.alt;

myChngImgA = document.getElementById('IMGA' + myIMG1cnt);
myChngImgA.href = 'javascript:myNewWin(\'' + myDir + myIMG.pic + myIMGJPG + '\')';
}



function myDbcLogo(myComment) {

myComment = ' ' + myComment + ' ';
myNewComment = myComment.replace(re,myDbcImage);
}

function colSize(myColX) {

myTag = '';

if (myColX == 'L')
{
myTag = ' CLASS="textL"';
}
if (myColX == 'S')
{
myTag = ' CLASS="textS"';
}
if (myColX == 'F')
{
myTag = ' CLASS="textF"';
}

myDivSt = '<P' + myTag + '>';
myDivEnd = '</P>';
}

function statsS() {
myHTML += '<TABLE CLASS="textS" ALIGN="CENTER" BORDERCOLOR="' + kBC + '" BORDER="2" WIDTH="85%" cellspacing="0">';
}

function statsE() {
myHTML += '</TABLE>';
}

function statsR(sLeft, sRight) {

myHTML += '<TR><TD BORDERCOLOR="' + kBG + '" WIDTH="50%" ALIGN="RIGHT">' + sLeft + ':</TD><TD BORDERCOLOR="' + kBG + '">' + sRight + '</TD></TR>';
}

function myNewWin(url) {

with(document)
{ 
close();
write("<html><head><title>Detroit Bondage Club Copyright 2005</title></head><body BACKGROUND=\"images/bk_rope_harness.jpg\"><p align=\"center\"><img src=\"" + url + "\" alt=\"Detroit Bondage Club, Copyright 2005.\" ONMOUSEDOWN=\"alert(\'" + myFootMsg1 + "\');\"></p></body></html>"); 
}
}

function colTextA(myHtA, myColA, myURLA, myBodyA) {

colSize(myColA);

myDbcLogo(myBodyA);

myHTML += myDivSt + '<A HREF="' + myURLA + '")\' TARGET="_top">' + myNewComment + '</A>'+ myDivEnd;

if (myHtA != '')
{
myHTML += '<HR>';
}
}

function colTextB(myHtB, myColB, myURLB, myBodyB) {

colSize(myColB);

myDbcLogo(myBodyB);

myHTML += myDivSt + '<A HREF="' + myURLB + '")\'>' + myNewComment + '</A>'+ myDivEnd;

if (myHtB != '')
{
myHTML += '<HR>';
}
}

function myGalleryEnt(myGallNo, myGalHdr, myGalDesc) {

myDbcLogo(myGalHdr);
myGalHdr = myNewComment;

myDbcLogo(myGalDesc);
myAnch = '<A HREF="' + myPREFX + myUS + myGallNo + '.html">';

myHTML += '<h3>' + myAnch + '<IMG WIDTH="83" HEIGHT="111" Border="0" SRC="' + myDir + myPREFX + myUS + myGallNo + '_1t.jpg"></A></H3><P CLASS="textL">' + myAnch + myGalHdr + '</A></P>' + myNewComment + '<BR clear="all">';
}

function myGalScreen() {

myHTML += '<CENTER><FORM NAME="but2" ONSUBMIT="return false"><INPUT  ID="DESC" CLASS="BUTLNK" TYPE="text" NAME="test2" VALUE=""></FORM><IMG ID="galpic" SRC="images/transparent.gif"></CENTER>';
}

function myGalThumb(myGalPic, myTW, myTH, myFW, myFH, myGalComt) {
myHTML += '<H3><IMG BORDER="0" WIDTH="' + myTW + '" HEIGHT="' + myTH + '" SRC="images/dbc_gallery_' + myGalNum + '_' + myGalPic + 't.jpg" ALT="' + myGalComt + '" ONCLICK="galpic.src=\'images/dbc_gallery_' +  myGalNum + myUS + myGalPic + '.jpg\';but2.test2.value=\'' + myGalComt + '\'"></H3><BR><BR>';

}

function myGalSt(myGalNo, myGalDesc) {

myGalNum = myGalNo;
colText("", "", "Gallery " + myGalNo, myGalDesc);
myHTML += '<BR><BR>&nbsp;<div class="galdiv"><CENTER><TABLE CLASS="galtab"><TR><TD>';
}

function myGalEnd() {
myHTML += '</TD></TR></TABLE></CENTER></DIV>';
}

function kinkS() {
myHTML += '<TABLE CLASS="kink" ALIGN="CENTER" CELLSPACING="0" CELLPADDING="0">';
}

function kinkE() {
myHTML += '</TABLE>';
}

function kinkR(kLeftC, kLeft, kRightC, kRight, kText, kPic, kPicW, kPicH, kPicD, kAlign) {

kImg='';
if (kPic != '')
{
kImg='<A HREF="javascript:myNewWin(\'' + myDir + kPic + '.jpg' + '\')"><IMG ALIGN="' + kAlign + '" ALT="' + kPicD + '" SRC="' + myDir + kPic + 't.jpg" BORDER="0" WIDTH="' + kPicW + '" HEIGHT="' + kPicH + '"></A>';
}

myHTML += '<TR><TD WIDTH="32%" VALIGN="TOP"><TABLE CLASS="kink2" CELLSPACING="0" CELLPADDING="0"><TR> <TD CLASS="kinkTD" BGCOLOR="';

myDbcLogo(kText);

if (kLeft == 'S')
{
myHTML += kRightC + '" COLSPAN="2">';
}
else
{

if (kLeftC == '')
{
kLeftC=kBG;
kLeft='&nbsp;';
}

if (kRightC == '')
{
kRightC=kBG;
kRight='&nbsp;';
}
myHTML += kLeftC + '">' + kLeft + '</TD><TD CLASS="kinkTD" BGCOLOR="' + kRightC + '">';
}
myHTML += kRight + '</TD></TR></TABLE></TD><TD WIDTH="68%">' + kImg + myNewComment + '</TD> </TR> <TR><TD COLSPAN="3"><HR></TD></TR>';
}

function myCartSt() {

myHTML += '<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0"><TR><TD WIDTH="20" HEIGHT="20" BACKGROUND="images/urx.gif"></TD><TD HEIGHT="20" BACKGROUND="images/tx.gif"><IMG WIDTH="1" HEIGHT="1" SRC="images/transparent.gif"></TD><TD WIDTH="12" HEIGHT="20" BACKGROUND="images/ulx.gif"></TD></TR><TR><TD WIDTH="11" BACKGROUND="images/rx.gif"></TD><TD><TABLE CELLSPACING="0" CELLPADDING="0"><TR><TD>';
}

function myCartEnd() {

myHTML += '</TD><TD WIDTH="12" BACKGROUND="images/lx.gif"></TD></TR><TR><TD WIDTH="20" HEIGHT="20" BACKGROUND="images/lrx.gif"></TD><TD HEIGHT="20" BACKGROUND="images/bx.gif"><IMG WIDTH="1" HEIGHT="1" SRC="images/transparent.gif"></TD><TD WIDTH="12" HEIGHT="20" BACKGROUND="images/llx.gif"></TD></TR></TABLE>';
}

function myDbcMtg() {

myDate = 'July 24, Aug 28, Sep 25, Oct 23, Nov 27';

myNextMtg = 'The © holds their monthly meetings in the upstairs bar at the Detroit Eagle, 1501 Holden, starting around 9pm on the fourth Sunday of the month. <DIV CLASS="textL">' + myDate + '</DIV>If you&acute;re a novice or more experienced at rope work, come on down and join in. '; 

myNextMtg2 = 'A  © Eagle fundraiser<BR CLEAR="all"><A HREF="http://www.detroiteagle.com/Directions/directions.html">Directions to the Detroit Eagle</A><BR><BR><SPAN><A HREF="dbc_join.html" TARGET="_top"> Membership Application</A><BR><BR><A HREF="dbc_photo_release.html" TARGET="_top"> Photo Release</A></SPAN>'; 

colText("", "", "Come and meet us!", "");

colPicText("", "dbc_gallery_29_3", "111", "83", "Demos at the Eagle", "left", myNextMtg);


colPicText("x", "dbc_gallery_32_10", "111", "83", "Demos at the Eagle", "left", myNextMtg2);

colPicText("", "dbc_info_32", "83", "111", "Please Visit the DBC Yahoo group", "right", "<CENTER><H5>Please Visit the</H5></CENTER>");

colTextA("x", "", "http://groups.yahoo.com/group/DetroitBondageClub", "<CENTER>© Yahoo group</CENTER>");

}

function myImageTSt() {

myHTML += '<TABLE  CLASS="textNormal"><TR>';
}

function myImageTEnd() {

myHTML += '</TR></TABLE>';
}

function myGalleryEntM(myGallNo, myGalHdr, myGalDesc) {

myDbcLogo(myGalDesc);

myAnch = '<A HREF="' + myPREFX + myUS + myGallNo + '.html">';

myHTML += '<TD ALIGN="center">' + myAnch + '<IMG WIDTH="83" HEIGHT="111" Border="0" SRC="' + myDir + myPREFX + myUS + myGallNo + '_1t.jpg"></A></TD><TD><DIV CLASS="textL">' + myAnch + myGalHdr + '</A></DIV><BLOCKQUOTE>' + myNewComment + '</BLOCKQUOTE></TD></TR><TR>';
}
// End -->