<!--
function loader () {
treea = new Image();
treea.src = "http://www.love-making-tips.com/discus/icons/tree_a.gif";
treeb = new Image();
treeb.src = "http://www.love-making-tips.com/discus/icons/tree_b.gif";
treec = new Image();
treec.src = "http://www.love-making-tips.com/discus/icons/tree_c.gif";
treed = new Image();
treed.src = "http://www.love-making-tips.com/discus/icons/tree_d.gif";
}
function ex(el, lst) {
wel = eval("ch" + el);
iel = eval("i" + el);
wel.style.display = ( iel.src == treed.src || iel.src == treeb.src ) ? "none" : "block";
iel.src = ( wel.style.display == "block" ) ? ( lst == 1 ? treed.src : treeb.src ) : ( lst == 1 ? treec.src : treea.src );
return false;
}
function p(icons, page, islast, lasticon, pageicon, iconurl, texturl, target, name, islastpost, postnum, linkedtext, unlinkedtext) {
var out = '';
var imgsrc1 = '<img src="/discus/icons/tree_';
var imgsrc2 = '.gif" border=0 height=16 width=20 align=top>';
var imgsrc3 = '<img name="i' + page + '" src="/discus/icons/tree_';
for (var j = 0; j < icons.length; j = j + 1) {
k = icons.substring(j, 1+j);
out = out + imgsrc1 + k + imgsrc2;
}
if (typeof postnum == "undefined") {
if (page) {
out = out + '<a href="#" onClick="return ex(' + page + ',';
if (islast) {
out = out + islast + ');">';
} else {
out = out + '0);">';
}
out = out + imgsrc3 + lasticon + imgsrc2;
out = out + '</a>';
} else {
out = out + imgsrc1 + lasticon + imgsrc2;
}
if (pageicon.length == 1) {
out = out + imgsrc1 + pageicon + imgsrc2;
} else {
out = out + '<img src="' + pageicon + '" border=0 align=top>';
}
if (texturl != "") {
out = out + '<a href="' + texturl + '"';
if (target != "") {
out = out + ' target="' + target + '"';
}
out = out + '><b>' + name + '</b></a>';
} else {
out = out + name;
}
} else {
if (islast != "*") {
out = out + imgsrc1;
if (islast == "1") {
out = out + "j";
} else {
out = out + "i";
}
out = out + imgsrc2;
}
out = out + imgsrc1;
if (islastpost == "0") {
out = out + "e";
} else {
out = out + "f";
}
out = out + imgsrc2 + imgsrc1 + "l" + imgsrc2 + '<font size=1>';
if (linkedtext != "" && texturl != "") {
out = out + '<a href="' + texturl + '#POST' + postnum;
out = out + '">' + linkedtext + '</a>';
}
out = out + '&nbsp;-&nbsp;' + unlinkedtext + '</font>';
}
document.write(out + '<BR>\n');
return true;
}
function pr(text) {
document.writeln(text);
return true;
}
// -->
