<!--
//Spoiler Button
var Spoiler_open = 0;
temp = line(temp,ButtonCount,place);  
if (spoiler >= userLV){		
   addButton("<input type='button' class=codebuttons value=' Spoiler ' onmouseover='descript(\"Spoiler (alt + s)\")' onclick='simpletag(\"Spoiler\")' name='Spoiler' accesskey='s' style='font-size: 10px' //>");
   temp = line(temp,ButtonCount,place);
}  			




//Glow Button			
function tag_glow()
{
    var FoundErrors = "";
    var enterCOLOR   = prompt("Please enter a color", "red");
    var enterSTRENGTH = prompt("Please enter a strength", "2");
    var Text = prompt("Please enter the text you want to glow", "text");
    if (!enterCOLOR) {
        FoundErrors += "You must enter a color ";
    }
    if (!enterSTRENGTH) {
        FoundErrors += "You must enter a strength ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[glow="+enterCOLOR+","+enterSTRENGTH+"]"+Text+"[/glow]", "", false);
}

if (glow >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Glow ' onmouseover='descript(\"Glow (alt + o)\")' onclick='tag_glow()' accesskey='o' style='font-size: 10px; Filter: Glow(Color=red, Strength=2)' //> ");
   temp = line(temp,ButtonCount,place);
}


//X-ray Button
var Xray_open = 0;   			
if (xray >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Xray ' onmouseover='descript(\"X-Ray (alt + x)\")' onclick='simpletag(\"Xray\")' name='Xray' accesskey='x' style='font-size: 10px; Filter: Xray' //> ");
   temp = line(temp,ButtonCount,place);
}
   

//Background Button			
function tag_bgcolor()
{
    var FoundErrors = '';
    var enterCOLOR   = prompt("Please enter a color", "red");
    var Text = prompt("Please enter the text you want to glow", "text");
    if (!enterCOLOR) {
        FoundErrors += "You must enter a color ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[bgcolor="+enterCOLOR+"]"+Text+"[/bgcolor]", "", false);
} 

if (bgcolor >= userLV){
   addButton("<input type='button' class='codebuttons' value=' BGcolor ' onmouseover='descript(\"Background Color (alt + c)\")' onclick='tag_bgcolor()' accesskey='c' style='background-color: red; font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
   
   			
			
//Marquee Button
function tag_marquee()
{
    var FoundErrors = '';
    enterDir = prompt("Please enter a direction \n[left,right,up,down]", "left");
    
    var Text = prompt("Please enter the text you want to marquee", "text");
    
    if (!enterDir) {
        FoundErrors += "You must enter a direction ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[marquee="+enterDir+"]"+Text+"[/marquee]", "", false);
}

if (marquee >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Marquee ' onmouseover='descript(\"Marquee (alt + m)\")' onclick='tag_marquee()' accesskey='m' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
  
//Blur Button  
function tag_blur()
{
    var FoundErrors = '';
    enterStr = prompt("Please enter the Strength", "5");
    
    var Text = prompt("Please enter the text you want to blur", "text");
    
    if (!enterStr) {
        FoundErrors += "You must enter the Strength ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[blur="+enterStr+"]"+Text+"[/blur]", "", false);
}			
if (blur >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Blur ' onmouseover='descript(\"Blur (alt + r)\")' onclick='tag_blur()' accesskey='r' style='font-size: 10px; Filter: Blur(Strength=5)' //> ");
   temp = line(temp,ButtonCount,place);
}
    
//Strike Button
var Strike_open = 0;   			
if (strike >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Strike ' onmouseover='descript(\"Strike (alt + k)\")' onclick='simpletag(\"Strike\")' name='Strike' accesskey='k' style='text-decoration: line-through; font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
   
  	
//Wave Button		
function tag_wave()
{
    var FoundErrors = '';
    var enterFeq = prompt("Please enter the Frequency", "2");
    var enterStr = prompt("Please enter the Strength", "2");
    
    var Text = prompt("Please enter the text you want to wave", "text");
    
    if (!enterFeq) {
        FoundErrors += "You must enter the Frequency ";
    }
    if (!enterStr) {
        FoundErrors += "You must enter the Strength ";
    }
    
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[wave="+enterFeq+","+enterStr+"]"+Text+"[/wave]", "", false);
}
if (wave >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Wave ' onmouseover='descript(\"Wave (alt + w)\")' onclick='tag_wave()' accesskey='w' style='font-size: 10px; Filter: Wave(Add=0, Freq=2, LightStrength=20, Phase=20, Strength=2)' //> ");
   temp = line(temp,ButtonCount,place);
}

//Transparent Button  
function tag_transparent()
{
    var FoundErrors = '';
    enterTans = prompt("Please enter the transparency", "50");
    
    var Text = prompt("Please enter the text you want to make transparent", "text");
    
    if (!enterTans) {
        FoundErrors += "You must enter the transparency ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[transparency="+enterTans+"]"+Text+"[/transparency]", "", false);
}  			
if (transparency >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Transparency ' onmouseover='descript(\"Transparency (alt + t)\")' onclick='tag_transparent()' accesskey='t' style='font-size: 10px; Filter: Glow(Color=red, Strength=2)' //> ");
   temp = line(temp,ButtonCount,place);
}
  
   			
//You Button
if (you >= userLV){
   addButton("<input type='button' value=' YOU '  class='codebuttons' onmouseover='descript(\"You (alt + y)\")' onclick='add_code(\"[you]\")' accesskey='y' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}

//doHTML Button   
var doHTML_open = 0;   
if (doHTML >= userLV){
   addButton("<input type='button' value=' doHTML '  class='codebuttons' onmouseover='descript(\"doHTML (alt + d)\")' onclick='simpletag(\"doHTML\")' name='doHTML' accesskey='d' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}

//sup Button   
var sup_open = 0;   
if (Super >= userLV){
   addButton("<input type='button' value=' sup '  class='codebuttons'  onmouseover='descript(\"Super (alt + 2)\")' onclick='simpletag(\"sup\")' name='sup' accesskey='2' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}


//sub Button    
var sub_open = 0;   
if (sub >= userLV){
   addButton("<input type='button' value=' sub '  class='codebuttons' onmouseover='descript(\"Sub (alt + 3)\")' onclick='simpletag(\"sub\")' name='sub' accesskey='3' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}

//flipH Button  
var flipH_open = 0;			
if (flipH >= userLV){
   addButton("<input type='button' class=codebuttons value=' flipH ' onmouseover='descript(\"Flip Horizontal (alt + 4)\")' onclick='simpletag(\"flipH\")' name='flipH' accesskey='4' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
	
//Blink Button			
var blink_open = 0;
if (blink >= userLV){
   addButton("<input type='button' class='codebuttons' value=' blink ' onmouseover='descript(\"Blink (alt + 5)\")' onclick='simpletag(\"blink\")' name='blink' accesskey='5' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
		
//hr Button			
if (hr >= userLV){
   addButton("<input type='button' class='codebuttons' value=' HR ' onmouseover='descript(\"Horizontal Rule (alt + 0)\")' onclick='add_code(\"[hr]\")' accesskey='0' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
			
//Align Button 
function tag_align()
{
    var FoundErrors = '';
    enterDir = prompt("Please enter an alignment \n[left,right,or center]", "center");
    
    var Text = prompt("Please enter the text you want to align", "text");
    
    if (!enterDir) {
        FoundErrors += "You must enter an alignment ";
    }
    if (!Text) {
        FoundErrors += "You must enter the text";
    }

    if (FoundErrors) {
        alert("Error! "+FoundErrors);
        return;
    }

    doInsert("[align="+enterDir+"]"+Text+"[/align]", "", false);
}
if (align >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Align ' onmouseover='descript(\"Alignment (alt + 6)\")' onclick='tag_align()' accesskey='6' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}

			
//SQL Button
if (SQL >= userLV){
   addButton("<input type='button' accesskey='l' value=' SQL 'onclick='simpletag(\"SQL\")'class='codebuttons' name='SQL'> ");
   temp = line(temp,ButtonCount,place);
}
			
//HTML Button
if (HTML >= userLV){
   addButton("<input type='button' accesskey='t' value=' HTML ' onclick='simpletag(\"HTML\")' class='codebuttons' name='HTML'> ");
   temp = line(temp,ButtonCount,place);
}


//Music Button			
function tag_Music()
{
    var FoundErrors = '';
    var enterurl = prompt("Please enter URL of music file ", "http://");
   
     
    if (!enterurl) {
        FoundErrors += "You must enter the url of music file ";
    }
    

    doInsert("[dohtml]<Embed type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' src='"+enterurl+"'"+" ShowControls=1 Auto Start=true ShowDisplay=0 ShowStatusBar=1 width=300 height=75></Embed>[/dohtml]", "", false);
}
if (flash >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Music ' onmouseover='descript(\"Flash file (alt + 9)\")' onclick='tag_Music()' accesskey='9' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
//Video Button			
function tag_video()
{
    var FoundErrors = '';
    var enterurl = prompt("Please enter URL of video file ", "http://");
   
     
    if (!enterurl) {
        FoundErrors += "You must enter the URL of Video file ";
    }
    

    doInsert("[dohtml]<Embed type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' src='"+enterurl+"'"+" ShowControls=1 Auto Start=true ShowDisplay=0 ShowStatusBar=1 width=300 height=300></Embed>[/dohtml]", "", false);
}
if (flash >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Video ' onmouseover='descript(\"Video file (alt + 10)\")' onclick='tag_video()' accesskey='9' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
//Flash Button			
function tag_Flash()
{
    var FoundErrors = '';
    var enterurl = prompt("Please enter URL of Flash file ", "http://");
   
     
    if (!enterurl) {
        FoundErrors += "You must enter the URL of Flash file ";
    }
    

    doInsert("[dohtml]<p align='center'><object codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 height=300 width=300 border=2 classid=clsid27CDB6E-AE6D-11cf-96B8-444553540000><param name='movie' value='"+enterurl+"'> <param name='quality' value='high'> <embed src='"+enterurl+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='300' height='300' border='2'> </embed> </object></p>[/dohtml]", "", false);
}
if (flash >= userLV){
   addButton("<input type='button' class='codebuttons' value=' Flash ' onmouseover='descript(\"Flash file (alt + 11)\")' onclick='tag_Flash()' accesskey='9' style='font-size: 10px' //> ");
   temp = line(temp,ButtonCount,place);
}
//-->
