



// Générateur de Scripts réalisé par SanDream
document.write('<style type=text/css>') ;
document.write('body {') ;
document.write('background-attachment: fixed; background-repeat: no-repeat; background-position: top left;') ;
document.write('}') ;
document.write('td.bodyline {') ;
document.write('border:1px dotted;} ') ;
document.write('}') ;
document.write('table.forumline {') ;
document.write('border: #47424F; border-width: 1px 0px 0px 1px; border-style: dashed;} ') ;
document.write('}') ;
document.write('td.row1,td.row2,td.row3,td.row3Right{') ;
document.write('border: #4C425B; border-width: 0px 1px 1px 0px; border-style: dashed;} ') ;
document.write('}') ;
document.write('.code {') ;
document.write('background-color: #1C1C1C; line-height : 140%; border: #4E644E; border-style: dashed; border-width: 1px 1px 1px 1px;') ;
document.write('}') ;
// Remplacez URL par l'adresse de quote_background.jpg une fois hebergé
document.write('.quote  {') ;
document.write('background-color: #262626; background-image: url(http://storage.canalblog.com/28/47/110755/7714016.jpg); background-attachment: fixed; background-repeat: no-repeat; background-position: top right; color: #FF9933; line-height : 140%; border: #916A2F; border-style: dashed; border-width: 1px 1px 1px 1px;') ;
document.write('}') ;
// Remplacez URL par l'adresse de textearea_background.jpg une fois hebergé
document.write('textarea.post{') ;
document.write('background-color: #21262A; background-image: url(http://storage.canalblog.com/96/71/110755/7714024.jpg); background-attachment: fixed; background-repeat: no-repeat; background-position: top right; border: #FF9933; border-style: dashed; border-width: 0px 1px 1px 0px;} ') ;
document.write('}') ;
document.write('input.post{') ;
document.write('background-color: #21262A; border: #7FAA7F; border-style: dashed; border-width: 0px 1px 1px 0px;} ') ;
document.write('}') ;
document.write('select{') ;
document.write('background-color: #21262A;  color : #7faa7f; border: #000000; border-style: dashed; border-width: 2px 0px 0px 2px;} ') ;
document.write('}') ;
document.write('.helpline{') ;
document.write('background-color: #21262A; color : #7faa7f; line-height : 140%; border: #000000; border-style: dashed; border-width: 2px 0px 0px 2px;} ') ;
document.write('}') ;
document.write('input.button{') ;
document.write('background-color: #21262A; color : #FF9933; border-color : #33393E} ') ;
document.write('}') ;
document.write('input.mainoption{') ;
document.write('background-color: #21262A; color : #FF9933; border-color : #5F5A6A} ') ;
document.write('}') ;
document.write('table.forumline {') ;
document.write('border-width: 1px 0px 0px 1px; border-style: dashed;} ') ;
document.write('}') ;
document.write('a:link,a:active,a:visited {') ;
document.write('text-decoration: none;') ;
document.write('}') ;
document.write('th.thLeft,th.thRight, {') ;
document.write('font-variant: normal; height: 25px; ') ;
document.write('}') ;
document.write('.cattitle {') ;
document.write('color : #7FAA7F;') ;
document.write('}') ;
document.write('a.cattitle {') ;
document.write('color : #7FAA7F;') ;
document.write('}') ;
document.write('.topictitle,h1,h2 {') ;
document.write('color : #7FAA7F;') ;
document.write('}') ;
document.write('hr {') ;
document.write('height: 0px; border: #668566 0px; border-top-width: 1px;border-style: dashed;') ;
document.write('}') ;
document.write('.copyright {') ;
document.write('color : #7FAA7F;') ;
document.write('}') ;
document.write('a.copyright {') ;
document.write('color : #3B3B57;') ;
document.write('}') ;
document.write('a.copyright:hover {') ;
document.write('color : #FF9933;') ;
document.write('}') ;
document.write('</style>') ;






// Correctly handle PNG transparency in Win IE 5.5 or higher.
// http://homepage.ntlworld.com/bobosola. Updated 02-March-2004

function correctPNG() 
   {
   for(var i=0; i<document.images.length; i++)
      {
	  var img = document.images[i]
	  var imgName = img.src.toUpperCase()
	  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	     {
		 var imgID = (img.id) ? "id='" + img.id + "' " : ""
		 var imgClass = (img.className) ? "class='" + img.className + "' " : ""
		 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
		 var imgStyle = "display:inline-block;" + img.style.cssText 
		 if (img.align == "left") imgStyle = "float:left;" + imgStyle
		 if (img.align == "right") imgStyle = "float:right;" + imgStyle
		 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle		
		 var strNewHTML = "<span " + imgID + imgClass + imgTitle
		 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
	     + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
		 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
		 img.outerHTML = strNewHTML
		 i = i-1
	     }
      }
   }
window.attachEvent("onload", correctPNG);

