/* Sawpit Heading Shadow Script by Allan Saw */

/* Copyright © 2002, all rights reserved */

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

if (form.openhead.value)
info+='<div><font size=\"6\"';

if (form.shadcol.value)
info+=' color="'+form.shadcol.value+'" style=\'position: relative; top: 0px; left: 2px;\'>';

if (form.text.value)
info+='<b>'+form.text.value+'</b></font><br>';

if (form.headcol.value)
info+='<font size=\"6\" color="'+form.headcol.value+'" style=\'position: relative; left: 0px; top:-38px;\'>';

if (form.text.value)
info+='<b>'+form.text.value+'</b></font></div>';

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.over.source.select(); document.over.source.focus()
}

function copy() {
highlight();
textRange = document.over.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("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.");
}
