/* Sawpit Color Scroll Bar Script by Allan Saw */

/* Copyright © 2002, all rights reserved */

function MakeIt(form)
{
var info='<!--Scroll Bar script created with Webmaster Tools (http://www.erenet.net).-->\n\n';

if (form.openhead.value)
info+='<style>\n<!-- \nbody {';

if (form.face.value)
info+='scrollbar-face-color: #'+form.face.value+'; ';

if (form.shad.value)
info+='scrollbar-shadow-color: #'+form.shad.value+'; ';

if (form.light.value)
info+='scrollbar-highlight-color: #'+form.light.value+'; ';

if (form.dlight.value)
info+='scrollbar-3dlight-color: #'+form.dlight.value+'; ';

if (form.dshad.value)
info+='scrollbar-darkshadow-color: #'+form.dshad.value+'; ';

if (form.track.value)
info+='scrollbar-track-color: #'+form.track.value+'; ';

if (form.arrow.value)
info+='scrollbar-arrow-color: #'+form.arrow.value+';}\n';

if (form.closehead.value)
info+='}\n// -->\n</style>';

form.source.value=info;
}

function AddText(form, Action)
{
var AddTxt="";
var info="";
form.keywords.value+=AddTxt;
}

/* End Popup script */


/* Text Box - clear text */

function doClear(theText) {
if (theText.value == theText.defaultValue) {
theText.value = ""
}
}

/* End Text Box - clear text */

/* Copy Script */

function highlight() {
document.scroll.source.select(); document.scroll.source.focus()
}

function copy() {
highlight();
textRange = document.scroll.source.createTextRange();
textRange.execCommand("RemoveFormat");
textRange.execCommand("Copy");
alert("Tüm Kodu Kopyaladınız.\n\nŞimdi Bu Kodu Sitenizin uygun yerine yapıştırınız.\n\nEreNeT.NeT i Tercih ettiğiniz için teşekkürler.");
}

/* End Copy script */
function highlight1() {
document.colorform.hexval.select(); document.colorform.hexval.focus()
}

function copy1() {
highlight1();
textRange = document.colorform.hexval.createTextRange();
textRange.execCommand("RemoveFormat");
textRange.execCommand("Copy");
alert("Renk Kodunu kopyaladınız.\n\Yandaki uygun yere yapıştırınız.\n\nwww.EreNeT.NeT.");
}
