diff --git a/include/staff/cannedresponse.inc.php b/include/staff/cannedresponse.inc.php
index a14beb43a983548997e2e02945bc410d246d709e..e689bf95644862b9918d1f35b9cb7014bae51b1c 100644
--- a/include/staff/cannedresponse.inc.php
+++ b/include/staff/cannedresponse.inc.php
@@ -75,7 +75,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
                 <div><b>Title</b><span class="error">*&nbsp;<?php echo $errors['title']; ?></span></div>
                 <input type="text" size="70" name="title" value="<?php echo $info['title']; ?>">
                 <br><br><div style="margin-bottom:0.5em"><b>Canned Response</b> <font class="error">*&nbsp;<?php echo $errors['response']; ?></font>
-                    &nbsp;&nbsp;&nbsp;(<a class="tip" href="ticket_variables">Supported Variables</a>)
+                    &nbsp;&nbsp;&nbsp;(<a class="tip" href="#ticket_variables">Supported Variables</a>)
                     </div>
                 <textarea name="response" class="richtext draft draft-delete" cols="21" rows="12"
                     data-draft-namespace="canned"
diff --git a/include/staff/syslogs.inc.php b/include/staff/syslogs.inc.php
index 67d28146f94301a2e0d086e30e9ef4a277ccde8e..34c09a50f52dd8de2c3ec875651c46bbfb92dabb 100644
--- a/include/staff/syslogs.inc.php
+++ b/include/staff/syslogs.inc.php
@@ -133,7 +133,7 @@ else
                 <td width=7px>
                   <input type="checkbox" class="ckb" name="ids[]" value="<?php echo $row['log_id']; ?>" 
                             <?php echo $sel?'checked="checked"':''; ?>> </td>
-                <td>&nbsp;<a class="tip" href="log/<?php echo $row['log_id']; ?>"><?php echo Format::htmlchars($row['title']); ?></a></td>
+                <td>&nbsp;<a class="tip" href="#log/<?php echo $row['log_id']; ?>"><?php echo Format::htmlchars($row['title']); ?></a></td>
                 <td><?php echo $row['log_type']; ?></td>
                 <td>&nbsp;<?php echo Format::db_daydatetime($row['created']); ?></td>
                 <td><?php echo $row['ip_address']; ?></td>
diff --git a/include/staff/tpl.inc.php b/include/staff/tpl.inc.php
index 7588092c5898e6d1a3e0bba13d24cc8b5c785eb4..650b70ad36d1789cbd4ad8f5cdf372ccf001cd06 100644
--- a/include/staff/tpl.inc.php
+++ b/include/staff/tpl.inc.php
@@ -87,7 +87,7 @@ $tpl=$msgtemplates[$selected];
      <tr>
         <th colspan="2">
             <h4><?php echo Format::htmlchars($desc['desc']); ?></h4>
-            <em>Subject and body required.  <a class="tip" href="ticket_variables.txt">Supported Variables</a>.</em>
+            <em>Subject and body required.  <a class="tip" href="#ticket_variables.txt">Supported Variables</a>.</em>
         </th>
      </tr>
     </thead>
diff --git a/scp/css/scp.css b/scp/css/scp.css
index 9e2c2201f0fdd44f564e6a0abf2762381003a669..3e93fa84b4408b6511ff604f85e3869b1c25df2d 100644
--- a/scp/css/scp.css
+++ b/scp/css/scp.css
@@ -961,7 +961,7 @@ ul.tabs li a.active {
     display:block;
     height:30px;
     position:absolute;
-    z-index:3;
+    z-index:101;
 }
 
 .tip_arrow {
@@ -970,7 +970,7 @@ ul.tabs li a.active {
     top:5px;
     left:-12px;
     width:12px;
-    z-index:4;
+    z-index:102;
 }
 
 .tip_box.right .tip_arrow {
@@ -1500,7 +1500,7 @@ ul.progress li.no small {color:red;}
     width: 100%;
     height: 100%;
     background: #000;
-    z-index: 101;
+    z-index: 103;
     -webkit-transform: translate3d(0,0,0);
     opacity: 0.5;
 }
diff --git a/scp/js/tips.js b/scp/js/tips.js
index a4a9e8b4c61cb7499c9cefc9b123ad29a0ec8390..db5a1aaf5d6e5feae57dad203a7cdf19eec2d438 100644
--- a/scp/js/tips.js
+++ b/scp/js/tips.js
@@ -46,15 +46,15 @@ jQuery(function() {
         };
     })();
 
+    var tip_id = 1;
     //Generic tip.
     $('.tip')
-    .each(function(i, e) {
-        e.rel = 'tip-' + i;
-    })
     .live('click mouseover', function(e) {
         e.preventDefault();
-        var id = this.rel;
-        var elem = $(this);
+        if (!this.rel)
+            this.rel = 'tip-' + (tip_id++);
+        var id = this.rel,
+            elem = $(this);
 
         elem.data('id',id);
         elem.data('timer',0);
@@ -63,10 +63,10 @@ jQuery(function() {
                 // wait about 1 sec - before showing the tip - mouseout kills
                 // the timeout
                 elem.data('timer',setTimeout(function() {
-                    showtip('ajax.php/content/'+elem.attr('href'),elem);i
+                    showtip('ajax.php/content/'+elem.attr('href').substr(1),elem);
                 },750));
             } else {
-                showtip('ajax.php/content/'+elem.attr('href'),elem);
+                showtip('ajax.php/content/'+elem.attr('href').substr(1),elem);
             }
         }
     })