Index: sevenup/sevenup.0.3.js
===================================================================
--- sevenup/sevenup.0.3.js	(revision 14459)
+++ sevenup/sevenup.0.3.js	(working copy)
@@ -26,7 +26,18 @@
     overrideLightbox: false,
     lightboxHTML: null,
     showToAllBrowsers: false,
-    usePlugin: false
+    usePlugin: false,
+    messageHeading: "Your web browser is outdated",
+    messageEasilyUpgrade: "You can easily upgrade to the latest version at",
+    messageBody: "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>" +
+          "<ul>" +
+            "<li><b>Websites load faster</b>, often double the speed of this older version</li>" +
+            "<li><b>Websites look better</b>, so you see sites they way they were intended</li>" +
+            "<li><b>Tabs</b> let you view multiple sites in one window</li>" +
+            "<li><b>Safer browsing</b> with phishing protection</li>" +
+          "</ul>",
+    exploreOtherHeading: "Explore other browsers",
+    messageQuitBuggingMe: "Remind me again after seven days"
   };
   function mergeInOptions(newOptions) {
     if (newOptions) {
@@ -65,29 +76,23 @@
       if (!html) {
         html =
         "<div style='width: 100%; height: 95%'>" +
-          "<h2 style='text-align: center;'>Your web browser is outdated and unsupported</h2>" +
+          "<h2 style='text-align: center;'>" + options.messageHeading + "</h2>" +
           "<div class='upgrade_msg' style='text-align: center;'>" +
-            "You can easily upgrade to the latest version at<br> " +
+            options.messageEasilyUpgrade + "<br> " +
             "<a style='color: #0000EE' href='" + options.downloadLink + "'>" +
               options.downloadLink +
             "</a>" +
           "</div>" +
-          "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>" +
-          "<ul>" +
-            "<li><b>Websites load faster</b>, often double the speed of this older version</li>" +
-            "<li><b>Websites look better</b>, so you see sites they way they were intended</li>" +
-            "<li><b>Tabs</b> let you view multiple sites in one window</li>" +
-            "<li><b>Safer browsing</b> with phishing protection</li>" +
-          "</ul>" +
+          options.messageBody +
         "</div>";
         if (options.enableClosing) {
           html += "<div style='font-size: 11px; text-align: right;'>";
           html += options.enableQuitBuggingMe ?
           ("<a href='#' onclick='sevenUp.quitBuggingMe();' " +
               "style='color: #0000EE'>" +
-              "Quit bugging me" +
+              options.messageQuitBuggingMe +
           "</a>") :
-          ("<a href='#' onclick='sevenUp.close();' " +
+          ("<a href='#' onclick='sevenUp.close(); return false;' " +
               "style='color: #0000EE'>" +
               "close" +
             "</a>");
@@ -132,10 +137,7 @@
       this.close();
     },
     close: function() {
-      var overlay = document.getElementById('sevenUpOverlay');
-      var lightbox = document.getElementById('sevenUpLightbox');
-      if (overlay) { overlay.style.display = 'none'; }
-      if (lightbox) { lightbox.style.display = 'none'; }
+      jQuery ("#sevenUpOverlay, #sevenUpLightbox").hide();
     },
     plugin: {}
   };
Index: sevenup/sevenup.info
===================================================================
--- sevenup/sevenup.info	(revision 14459)
+++ sevenup/sevenup.info	(working copy)
@@ -1,11 +1,6 @@
+;$Id;
 name=Seven Up
 description=add the sevenup script to suggest/force users to upgrage their browser to something other than IE 6
-core=6.x
-
-;$Id;
-; Information added by drupal.org packaging script on 2009-05-12
-version = "6.x-0.3"
-core = "6.x"
-project = "sevenup"
-datestamp = "1242113162"
+core = 7.x
 
+files[] = sevenup.module
Index: sevenup/sevenup.module
===================================================================
--- sevenup/sevenup.module	(revision 14459)
+++ sevenup/sevenup.module	(working copy)
@@ -1,5 +1,5 @@
 <?php
-;$Id;
+$Id;
 
 /**
  * @file
@@ -9,12 +9,13 @@
  */
 
 /**
- * Implementation of hook_menu().
+ * Implements hook_menu().
  */
 function sevenup_menu() {
   $items = array();
-  $items['admin/settings/sevenup'] = array(
+  $items['admin/config/system/sevenup'] = array(
     'title' => 'Seven Up Settings',
+    'description' => 'Configure what to do when IE6 is detected.',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('sevenup_admin_settings_form'),
     'access arguments' => array('administer site configuration'),
@@ -25,7 +26,7 @@
 /**
  * create the admin settings form
  */
-function sevenup_admin_settings_form() {
+function sevenup_admin_settings_form($form, &$form_state) {
   $form = array();
   $options = array(
     'true' => t('Yes'),
@@ -62,7 +63,7 @@
   );
   $form['sevenUp_downloadLink'] = array(
     '#title' => t('What Browser Do you want to suggest?'),
-    '#description' => t('A link will be displayed for the user to upgrade their browser. Which browser would you like to recommend? If you choose Internet Explorer and the user is using an operating system that cannot handle IE 7 or IE 8 the user will be pointed to Firefox.s'),
+    '#description' => t('A link will be displayed for the user to upgrade their browser. Which browser would you like to recommend? If you choose Internet Explorer and the user is using an operating system that cannot handle IE 7 or IE 8 the user will be pointed to Firefox.'),
     '#default_value' => variable_get('sevenUp_downloadLink', 1),
     '#type' => 'radios',
     '#options' => array(
@@ -87,21 +88,123 @@
       1 => t('Yes'),
     ),
   );
+
+  $form['text'] = array(
+    '#type' => 'fieldset',
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
+    '#title' => t('Message text'),
+    '#description' => t('You can change the default message header and text here.
+          Be very careful in changing the body text, as propper HTML must be used.'),
+  );
+  $form['text']['sevenUp_messageHeader'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Message Heading'),
+    '#description' => t('Enter the main heading the message box.'),
+    '#default_value' => variable_get('sevenUp_messageHeader', t('Your web browser is outdated')),
+  );
+  $form['text']['sevenUp_messageEasilyUpgrade'] = array(
+    '#type' => 'textfield',
+    '#title' => t('"Easily upgrade" text'),
+    '#description' => t('Specify text you want to appear for the "You can easily upgrade to the latest version at" for the standard version of sevenUp.'),
+    '#default_value' => variable_get('sevenUp_messageEasilyUpgrade', t('You can easily upgrade to the latest version at')),
+  );
+  $form['text']['sevenUp_messageEasilyUpgradeBlack'] = array(
+    '#type' => 'textfield',
+    '#title' => t('"Easily upgrade" text for the Black plugin'),
+    '#description' => t('Specify text you want to appear for the "You can easily upgrade to the latest version" for the black plugin of sevenUp.'),
+    '#default_value' => variable_get('sevenUp_messageEasilyUpgradeBlack', t('You can easily upgrade to the latest version')),
+  );
+  $form['text']['sevenUp_messageBody'] = array(
+    '#type' => 'textarea',
+    '#title' => t('Message Body'),
+    '#description' => t('Enter the body of the message.  <strong>Make sure you use valid HTML, and properly close all tags!</strong>'),
+    '#default_value' => variable_get('sevenUp_messageBody', t(
+        "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>
+          <ul>
+            <li><b>Websites load faster</b>, often double the speed of this older version</li>
+            <li><b>Websites look better</b>, so you see sites they way they were intended</li>
+            <li><b>Tabs</b> let you view multiple sites in one window</li>
+            <li><b>Safer browsing</b> with phishing protection</li>
+          </ul>")),
+  );
+  $form['text']['sevenUp_messageBodyBlack'] = array(
+    '#type' => 'textarea',
+    '#title' => t('Message Body for Black version'),
+    '#description' => t('Enter the body of the message for the black version of sevenUp.  <strong>Make sure you use valid HTML, and properly close all tags!</strong>'),
+    '#default_value' => variable_get('sevenUp_messageBodyBlack', t(
+        "<h3 style='color: #FFFFFF; font-weight:bold;'>Why should I upgrade?</h3>
+              <dl style='line-height: 1.4;margin:7px 0 0 2px'>
+                <dt style='color:#e6e6e6'>Web sites load faster</dt>
+                <dd style='font-size:11px;margin-left:20px;'>often double the speed of this older version.</dd>
+                <dt style='color:#e6e6e6'>Web sites render correctly</dt>
+                <dd style='font-size:11px;margin-left:20px;'>with more web standards compliance.</dd>
+                <dt style='color:#e6e6e6'>Tabs Interface</dt>
+                <dd style='font-size:11px;margin-left:20px;'>lets you view multiple sites in one window.</dd>
+                <dt style='color:#e6e6e6'>Safer browsing</dt>
+                <dd style='font-size:11px;margin-left:20px;'>with better security and phishing protection.</dd>
+                <dt style='color:#e6e6e6'>Convenient Printing</dt>
+                <dd style='font-size:11px;margin-left:20px;'>with fit-to-page capability.</dd>
+              </dl>")),
+  );
+  $form['text']['sevenUp_exploreOtherHeading'] = array(
+    '#type' => 'textfield',
+    '#title' => t('"Explore other browsers" text'),
+    '#description' => t('Text with which to replace the "Explore other browsers" heading.'),
+    '#default_value' => variable_get('sevenUp_exploreOtherHeading', t('Explore other browsers')),
+  );
+  $form['text']['sevenUp_messageQuitBuggingMe'] = array(
+    '#type' => 'textfield',
+    '#title' => t('"Quit bugging me" text'),
+    '#description' => t('Text with which to replace the "quit bugging me" message.'),
+    '#default_value' => variable_get('sevenUp_messageQuitBuggingMe', t('Remind me again after seven days')),
+  );
+
+
   return system_settings_form($form);
 }
 
 /**
- * Implementation of hook_init().
+ * Implements hook_init().
  */
 function sevenup_init() {
-  drupal_add_js(drupal_get_path('module', 'sevenup') .'/sevenup.0.3.js', 'module');
-  $test_function = 'sevenUp.test(options);';
+  /* Don't lock yourself out of admin */
+  if (arg (0) == 'admin')
+    return;
+  drupal_add_js(drupal_get_path('module', 'sevenup') . '/sevenup.0.3.js');
   if (variable_get('sevenup_black_plugin', 0)) {
-    $test_function = 'sevenUp.plugin.black.test';
     drupal_add_js(drupal_get_path('module', 'sevenup') .'/sevenup_black.0.3.js');
+    $test_function = 'sevenUp.plugin.black.test';
+    $easily_upgrade_text = variable_get('sevenUp_messageEasilyUpgradeBlack', t('You can easily upgrade to the latest version'));
+    $message_body = preg_replace( "/\s\s+/", ' ', variable_get('sevenUp_messageBodyBlack', t(
+      "<h3>Why should I upgrade?</h3>
+       <dl style='line-height: 1.4;margin:7px 0 0 2px'>
+       <dt style='color:#e6e6e6'>Web sites load faster</dt>
+       <dd style='font-size:11px;margin-left:20px;'>often double the speed of this older version.</dd>
+       <dt style='color:#e6e6e6'>Web sites render correctly</dt>
+       <dd style='font-size:11px;margin-left:20px;'>with more web standards compliance.</dd>
+       <dt style='color:#e6e6e6'>Tabs Interface</dt>
+       <dd style='font-size:11px;margin-left:20px;'>lets you view multiple sites in one window.</dd>
+       <dt style='color:#e6e6e6'>Safer browsing</dt>
+       <dd style='font-size:11px;margin-left:20px;'>with better security and phishing protection.</dd>
+       <dt style='color:#e6e6e6'>Convenient Printing</dt>
+       <dd style='font-size:11px;margin-left:20px;'>with fit-to-page capability.</dd>
+       </dl>")) );
+  }
+  else {
+    $test_function = 'sevenUp.test(options);';
+    $easily_upgrade_text = variable_get('sevenUp_messageEasilyUpgrade', t('You can easily upgrade to the latest version at'));
+    $message_body = preg_replace( "/\s\s+/", ' ', variable_get('sevenUp_messageBody', t(
+        "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>
+          <ul>
+            <li><b>Websites load faster</b>, often double the speed of this older version</li>
+            <li><b>Websites look better</b>, so you see sites they way they were intended</li>
+            <li><b>Tabs</b> let you view multiple sites in one window</li>
+            <li><b>Safer browsing</b> with phishing protection</li>
+          </ul>")) );
   }
   
-  drupal_add_js('$(document).ready(function(){
+  drupal_add_js('jQuery(document).ready(function(){
     var options = {  
       enableClosing: '. variable_get('sevenUp_enableClosing', 'true') .',
       enableQuitBuggingMe: '. variable_get('sevenUp_enableQuitBuggingMe', 'true') .',
@@ -111,8 +214,13 @@
       '. (variable_get('sevenUp_downloadLink', 1) ? '' : 'downloadLink: "http://www.getfirefox.com",' ) .'
       overrideLightbox: false,
       lightboxHTML: null,
-      showToAllBrowsers: '. variable_get('sevenUp_showToAllBrowsers', 'false') .'
+      showToAllBrowsers: '. variable_get('sevenUp_showToAllBrowsers', 'false') .',
+      messageHeading: "' . variable_get('sevenUp_messageHeader', t('Your web browser is outdated')) . '",
+      messageEasilyUpgrade: "' . $easily_upgrade_text . '",
+      messageBody: "' . $message_body . '",
+      exploreOtherHeading: "' . variable_get('sevenUp_exploreOtherHeading', t('Explore other browsers')) . '",
+      messageQuitBuggingMe: "' . variable_get('sevenUp_messageQuitBuggingMe', t('Remind me again after seven days')) . '"
     };
     '. $test_function .'(options);
-  });', 'inline');
+  });', array('type' => 'inline'));
 }
\ No newline at end of file
Index: sevenup/sevenup.0.3_beta.js
===================================================================
--- sevenup/sevenup.0.3_beta.js	(revision 14459)
+++ sevenup/sevenup.0.3_beta.js	(working copy)
@@ -1,138 +0,0 @@
-// Thanks for doing your part to liber(IE)t the world from IE6!
-// Here's to the "Support but Discourage" approach :)
-// Original copy written by Jonathan Howard.
-// jon@StaringIsPolite.com // twitter.com/staringispolite
-//
-// GNU LGPL License v3
-// SevenUp is released into the wild under a GNU LGPL v3
-//
-// Browser sniffing technique lovingly adapted from http://www.thefutureoftheweb.com/
-// Simple CSS Lightbox technique adapted equally lovingly from http://www.emanueleferonato.com/
-// Go read their blogs :)
-
-// Constructor technique advocated by Doug Crockford (of LSlint, JSON) in his recent Google tech talk.
-var sevenUp = function() {
-  // Define 'private vars' here.
-  var osSupportsUpgrade = /(Windows NT 5.1|Windows NT 6.0|Windows NT 6.1|)/i.test(navigator.userAgent); // XP, Vista, Win7
-  var options = {  // Change these to fit your color scheme via the 'options' arg for test().
-    enableClosing: true,
-    enableQuitBuggingMe: true,
-    overlayColor: "#000000",  
-    lightboxColor: "#ffffff",
-    borderColor: "#6699ff",
-    downloadLink: osSupportsUpgrade ? 
-                    "http://www.microsoft.com/windows/internet-explorer" :
-                    "http://getfirefox.com",
-    overrideLightbox: false,
-    lightboxHTML: null,
-    showToAllBrowsers: false
-  };
-  // Hate to define CSS this way, but trying to keep to one file.
-  // I'll keep it as pretty as possible.
-  function overlayCSS() {
-    return "display: block; position: absolute; top: 0%; left: 0%;" +
-    "width: 100%; height: 100%; background-color: " + options.overlayColor + "; " +
-    "filter: alpha(opacity: 80); z-index:1001;";
-  }
-  function lightboxCSS() {
-    return "display: block; position: absolute; top: 25%; left: 25%; width: 50%; " +
-    "padding: 16px; border: 8px solid " + options.borderColor + "; " +
-    "background-color:" + options.lightboxColor + "; " +
-    "z-index:1002; overflow: hidden;";
-  }
-  function lightboxContents() {
-    if (!options.lightboxHTML) {
-      var html =
-      "<div style='width: 100%; height: 95%'>" +
-        "<h2 style='text-align: center;'>Your web browser is outdated and unsupported</h2>" +
-        "<div class='upgrade_msg' style='text-align: center;'>" +
-          "You can easily upgrade to the latest version at<br> " +
-          "<a style='color: #0000EE' href='" + options.downloadLink + "'>" +
-            options.downloadLink +
-          "</a>" +
-        "</div>" +
-        "<h3 style='margin-top: 40px'>Why should I upgrade?</h3>" +
-        "<ul>" +
-          "<li><b>Websites load faster</b>, often double the speed of this older version</li>" +
-          "<li><b>Websites look better</b>, so you see sites they way they were intended</li>" +
-          "<li><b>Tabs</b> let you view multiple sites in one window</li>" +
-          "<li><b>Safer browsing</b> with phishing protection</li>" +
-        "</ul>" +
-      "</div>";
-      if (options.enableClosing) {
-        html += "<div style='font-size: 11px; text-align: right;'>";
-        html += options.enableQuitBuggingMe ?
-        ("<a href='#' onclick='sevenUp.quitBuggingMe();' " +
-            "style='color: #0000EE'>" +
-            "Quit bugging me" +
-        "</a>") :
-        ("<a href='#' onclick='sevenUp.close();' " +
-            "style='color: #0000EE'>" +
-            "close" +
-          "</a>");
-        html += "</div>";
-      }
-    }
-    return (options.lightboxHTML = html);
-  }
-  function mergeInOptions(newOptions) {
-    if (newOptions) {
-      for (var i in options) {
-        if (newOptions[i] !== undefined) {
-          options[i] = newOptions[i];
-        }
-      }
-    }
-  }
-  function isCookieSet() {
-    if (document.cookie.length > 0) {
-      var i = document.cookie.indexOf("sevenup=");
-      return (i != -1);
-    }
-    return false;
-  }
-  
-  // Return object literal and public methods here.
-  return {
-    test: function(newOptions, callback) {
-      mergeInOptions(newOptions);
-      if (!isCookieSet()) {
-        // Write layer into the document.
-        var layerHTML = "<div id='sevenUpCallbackSignal'></div>";
-        if (!options.overrideLightbox) {
-          layerHTML += "<div id='sevenUpOverlay' style='" + overlayCSS() + "'>" +
-            "</div>" +
-            "<div id='sevenUpLightbox' style='" + lightboxCSS() + "'>" +
-              lightboxContents() +
-            "</div>";
-        }
-        if (options.showToAllBrowsers !== true) {
-          layerHTML = "<!--[if lt IE 7]>" + layerHTML + "<![endif]-->";
-        }
-        var layer = document.createElement('div');
-        layer.innerHTML = layerHTML;
-        document.body.appendChild(layer);
-        // Fire callback.
-        // I don't like this hack but IE6 seems to restrict dynamically created <script> tags to <head> only, 
-        // and I don't see a way to add conditional comments around the script tag or its contents.
-        // So for now, we write a 'signal' div inside the CC. If anyone has a better way please let me know.
-        if (callback && document.getElementById('sevenUpCallbackSignal')) {
-          callback(options);
-        }
-      }  
-    },
-    quitBuggingMe: function() {
-      var exp = new Date();
-      exp.setTime(exp.getTime()+(7*24*3600000));
-      document.cookie = "sevenup=dontbugme; expires="+exp.toUTCString();
-      this.close();
-    },
-    close: function() {
-      var overlay = document.getElementById('sevenUpOverlay');
-      var lightbox = document.getElementById('sevenUpLightbox');
-      if (overlay) { overlay.style.display = 'none'; }
-      if (lightbox) { lightbox.style.display = 'none'; }
-    }
-  };
-}();
-
Index: sevenup/sevenup_black.0.3.js
===================================================================
--- sevenup/sevenup_black.0.3.js	(revision 14459)
+++ sevenup/sevenup_black.0.3.js	(working copy)
@@ -9,20 +9,14 @@
   sevenUp.plugin.black = {
     test: function(newOptions, callback) {
       newOptions.overrideLightbox = true;
-      newOptions.lightboxHTML = " \
-      <div id='sevenUpLightbox' style='display:block;position:absolute;top:25%;text-align:center;z-index:1002;overflow:hidden;width:100%'> \
-        <div style='width:550px;margin:0px auto;text-align:left;'> \
-          <div style='background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/curve-top.gif);font-size:1px;height:18px;width:550px;'></div> \
-          <div style='background:#1a1a1a;color:#999;font: 12px Arial, Helvetica, sans-serif;position:relative;text-align:center;width:550px;'> \
-            <div style='background:transparent url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/close.gif);height:26px;position:absolute;right:6px;top:-10px;width:26px;'> \
-              <a href='#' onclick='sevenUp.close()' style='display:block;height:26px;text-indent:-9999px;width:26px;'>Close</a> \
-            </div> \
-            <h1 style='background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/heading-main.gif) 0 18px no-repeat;font-size:1px;height:43px;margin:0 auto;;text-indent:-9999px;width:479px;'>Your web browser is updated</h1> \
-            <p style='font-size:14px;margin:8px 0 11px;'>You can easily upgrade to the latest version</p> \
-            <a href='http://www.microsoft.com/windows/internet-explorer'><img src='http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/IE.jpg' alt='Internet Explorer 8' style='border:0;'/></a> \
-            <p style='margin:2px 0 22px;'><a href='http://www.microsoft.com/windows/internet-explorer' style='color:#999;text-decoration:none;'>Internet Explorer 8</a></p> \
-            <div class='whyUpgrade' style='float:left;text-align:left;padding-left:35px;width:270px;'> \
-              <h3 style='background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/heading-upgrade.gif) no-repeat;font-size:1px;height:13px;margin:0;text-indent:-9999px;width:146px;'>Why should I upgrade?</h3> \
+      if ( newOptions.messageHeading == undefined ) {
+        newOptions.messageHeading = "Your web browser is outdated";
+      }
+      if ( newOptions.messageEasilyUpgrade == undefined ) {
+        newOptions.messageEasilyUpgrade = "You can easily upgrade to the latest version";
+      }
+      if ( newOptions.messageBody == undefined ) {
+        newOptions.messageBody = "<h3 style='background:url(/sites/all/modules/sevenup/black/images/heading-upgrade.gif) no-repeat;font-size:1px;height:13px;margin:0;text-indent:-9999px;width:146px;'>Why should I upgrade?</h3> \
               <dl style='line-height: 1.4;margin:7px 0 0 2px'> \
                 <dt style='color:#e6e6e6'>Web sites load faster</dt> \
                 <dd style='font-size:11px;margin-left:20px;'>often double the speed of this older version.</dd> \
@@ -34,26 +28,62 @@
                 <dd style='font-size:11px;margin-left:20px;'>with better security and phishing protection.</dd> \
                 <dt style='color:#e6e6e6'>Convenient Printing</dt> \
                 <dd style='font-size:11px;margin-left:20px;'>with fit-to-page capability.</dd> \
-              </dl> \
+              </dl>";
+      }
+      if ( newOptions.exploreOtherHeading == undefined ) {
+        newOptions.exploreOtherHeading = "Explore other browsers";
+      }
+      if ( newOptions.messageQuitBuggingMe == undefined ) {
+        newOptions.messageQuitBuggingMe = "quit bugging me";
+      }
+      newOptions.lightboxHTML = " \
+      <div id='sevenUpLightbox' style='display:block;position:absolute;top:25%;text-align:center;z-index:1002;overflow:hidden;width:100%'> \
+        <div style='width:550px;margin:0px auto;text-align:left;'> \
+          <div style='background:url(/sites/all/modules/sevenup/black/images/curve-top.gif);font-size:1px;height:18px;width:550px;'></div> \
+          <div style='background:#1a1a1a;color:#999;font: 12px Arial, Helvetica, sans-serif;position:relative;text-align:center;width:550px;'> \
+            <div style='background:transparent url(/sites/all/modules/sevenup/black/images/close.gif);height:26px;position:absolute;right:6px;top:-10px;width:26px;'> \
+              <a href='#' onclick='sevenUp.close()' style='display:block;height:26px;text-indent:-9999px;width:26px;'>Close</a> \
             </div> \
-            <div class='otherBrowsers' style='float:left;font-size:14px;text-align:left;width:220px;margin-left:20px'> \
-              <h3 style='background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/heading-browsers.gif) no-repeat;font-size:1px;height:13px;margin:0;text-indent:-9999px;width:152px;'>Explore other browsers</h3> \
+            <h1 style='color: #FFFFFF; font-weight: bold;'>" + newOptions.messageHeading + "</h1> \
+            <p style='font-size:14px;margin:8px 0 11px;'>" +  newOptions.messageEasilyUpgrade + "</p> \
+            " +
+
+            ( ( newOptions.downloadLink == "http://www.getfirefox.com" )
+            ? "<a href='http://getfirefox.com'><img src='/sites/all/modules/sevenup/black/images/Firefox-big.jpg' alt='Firefox' style='border:0;'/></a> \
+                  <p style='margin:2px 0 22px;'><a href='http://getfirefox.com' style='color:#999;text-decoration:none;'>Get Firefox</a></p>"
+            : "<a href='http://www.microsoft.com/windows/internet-explorer'><img src='/sites/all/modules/sevenup/black/images/IE-big.jpg' alt='Internet Explorer 8' style='border:0;'/></a> \
+                  <p style='margin:2px 0 22px;'><a href='http://www.microsoft.com/windows/internet-explorer' style='color:#999;text-decoration:none;'>Internet Explorer 8</a></p>"
+            ) +
+
+            " \
+            <div class='whyUpgrade' style='float:left;text-align:left;padding-left:35px;width:270px;'>" +
+              newOptions.messageBody + "\
+            </div> \
+            <div class='otherBrowsers' style='float:left;text-align:left;width:220px;margin-left:20px'> \
+              <h3 style='color: #FFFFFF; font-weight:bold;'>" + newOptions.exploreOtherHeading + "</h3> \
               <ul style='list-style:none;margin:0;padding:9px 0 0 0'> \
-        				<li style='height:39px;background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/Chrome.jpg) no-repeat;'><a href='http://www.google.com/chrome' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:150px;'>Google Chrome</a></li> \
-        				<li style='height:39px;background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/Firefox.jpg) no-repeat;'><a href='http://getfirefox.com' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Mozilla Firefox</a></li> \
-        				<li style='height:39px;background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/Opera.jpg) no-repeat;'><a href='http://www.opera.com/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Opera</a></li> \
-        				<li style='height:39px;background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/Safari.jpg) no-repeat;'><a href='http://www.apple.com/safari/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Apple Safari</a></li> \
+        				<li style='height:39px;background:url(/sites/all/modules/sevenup/black/images/Chrome.jpg) no-repeat;'><a href='http://www.google.com/chrome' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:150px;'>Google Chrome</a></li> \
+                " +
+                (
+                ( newOptions.downloadLink == "http://www.getfirefox.com" )
+                ? "<li style='height:39px;background:url(/sites/all/modules/sevenup/black/images/IE.jpg) no-repeat;'><a href='www.microsoft.com/windows/internet-explorer' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Internet Explorer</a></li>"
+                : "<li style='height:39px;background:url(/sites/all/modules/sevenup/black/images/Firefox.jpg) no-repeat;'><a href='http://getfirefox.com' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Mozilla Firefox</a></li>"
+
+                ) +
+                " \
+        				<li style='height:39px;background:url(/sites/all/modules/sevenup/black/images/Opera.jpg) no-repeat;'><a href='http://www.opera.com/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Opera</a></li> \
+        				<li style='height:39px;background:url(/sites/all/modules/sevenup/black/images/Safari.jpg) no-repeat;'><a href='http://www.apple.com/safari/download/' style='color:#e6e6e6;display:block;padding:4px 0 8px 44px;text-decoration:none;width:140px;'>Apple Safari</a></li> \
               </ul> \
             </div> \
             <div style='clear:both;'><a href='#' style='bottom:-10px;color:#e6e6e6;font-size:14px;position:absolute;right:14px;text-decoration:none;' ";
       if (newOptions.enableQuitBuggingMe === false) {
         newOptions.lightboxHTML += "onclick='sevenUp.close()'>close";
       } else {
-        newOptions.lightboxHTML += "onclick='sevenUp.quitBuggingMe()'>quit bugging me";
+        newOptions.lightboxHTML += "onclick='sevenUp.quitBuggingMe()'>" + newOptions.messageQuitBuggingMe;
       }
       newOptions.lightboxHTML += "</a></div> \
           </div> \
-          <div style='background:url(http://dl.getdropbox.com/u/48374/sevenup/plugins/black/images/curve-bottom.gif);font-size:1px;height:18px;width:550px;'></div> \
+          <div style='background:url(/sites/all/modules/sevenup/black/images/curve-bottom.gif);font-size:1px;height:18px;width:550px;'></div> \
         </div> \
       </div>";
       sevenUp.test(newOptions, callback);
