// This Javascript file contains the code necessary to customize the Branding DIV element 
// on some MP pages. Just edit the Branding variable to customize the look and feel of this
// graphic element to suit your squad purposes. There are two simple examples supplied in
// this folder, using IV/JG7-style artwork.
// WARNING: Only do this if you feel confident about DHTML and Javascript. It is recommended
// to take a copy of the clean release version of this file for backup, in case your edits go wrong.

// Here is the DIV element definition.
// Do not change the name of this variable, but you can change the DIV parameters (width, colour etc) if you want.
var BrandDIVHTML = '<div id="BRANDDIV" \n'+
'style="position:absolute;\n'+
'width:170px;\n'+
'height:105px;\n'+
'background-color:#606070;\n'+
'left:7px;\n'+
'visibility:visible;\n'+
'top:14px;\n">';

// Here is the DIV text/graphics contents.
// Again, do not change the name of this variable, but feel free to change the contents.
// Feel free to use any of the CSS styles in MP-Styles.css
var Branding;
Branding = '<span class="small" style="color:#f5c5c5;font-weight: bold;">';
Branding += '<br>Customize your MP in your Squad Colours!<br></span>\n';
Branding += '<span class="tiny" style="color:#f5c5c5;">';
Branding += 'Edit the contents of Scripts/Branding.js to change the contents of this box.\n';
Branding += '</span>';

// Here is where we put them together to give the MP some DHTML to render.
// You shouldn't need to change this at all.
BrandDIVHTML += Branding+'</div>\n';