/*<!--*/
var e = document.getElementById("rp_testimonials");
var f = document.createElement("iframe");
var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=getFFVersion>=0.1? 16 : 16 //extra height in px to add to iframe in FireFox 1.0+ browsers

var iframeids=["rpi_testimonials_iframe"]

f.width="600px";f.height="600px";f.style.border="none";f.frameBorder="0";f.src="about:blank";f.name="rpi_testimonials_iframe";f.id="rpi_testimonials_iframe";f.scrolling="no";
e.appendChild(f);
var iframeDoc;
if (f.contentDocument) {
  iframeDoc = f.contentDocument;
} else if (f.contentWindow) {
  iframeDoc = f.contentWindow.document;
} else if (window.frames[f.name]) {
  iframeDoc = window.frames[f.name].document;
}
if (iframeDoc) {
//  f.onDomReady = dyniframesize;
  f.onload = dyniframesize;
  iframeDoc.open();
  iframeDoc.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n	\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n<head>\n	<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n\n	<title  >RatePoint Spotlight Testimonials</title>\n  <style>\n * { padding: 0; margin: 0; font-size: 1em; outline: none; }\n  body {background-color: white}\n  a img {border:none}\n  </style>\n  <link href=\"//sitetools.ratepoint.com/stylesheets/testimonials.css\" media=\"screen\" rel=\"Stylesheet\" type=\"text/css\" />\n</head>\n\n<body>\n\n          <script type=\"text/javascript\">\n          var _rp_uth = ((\"https:\" == document.location.protocol) ? \"https://\" : \"http://\");\n          document.write(unescape(\"<img width=\'1\' height=\'1\' src=\'\" + _rp_uth + \"ut.ratepoint.com\" + \"/items/\" +  \"91569bb6bad24f4dbba47da22c25a42f\" + \"/trace.png?t=\" + Number(new Date()) + \"\' alt=\'\' />\"));\n        </script>\n<div class=\"testimonial_wrapper\"  >\n\n\n	<div class=\"title title_star\">\n		<div class=\"title-container\">\n					<span class=\"rating\" t9n:p=\"1\"  ><span t9n:w=\"1\" >Average Rating with 194 reviews</span> <img alt=\"Testimonial_header_star\" class=\"star\" src=\"//sitetools.ratepoint.com/images/testimonial_header_star.gif\" /><img alt=\"Testimonial_header_star\" class=\"star\" src=\"//sitetools.ratepoint.com/images/testimonial_header_star.gif\" /><img alt=\"Testimonial_header_star\" class=\"star\" src=\"//sitetools.ratepoint.com/images/testimonial_header_star.gif\" /><img alt=\"Testimonial_header_star\" class=\"star\" src=\"//sitetools.ratepoint.com/images/testimonial_header_star.gif\" /><img alt=\"Testimonial_header_star\" class=\"star\" src=\"//sitetools.ratepoint.com/images/testimonial_header_star.gif\" /></span>\n					<h3  >Testimonials for RELECTRIC</h3>\n		</div>\n	</div><!-- title -->\n\n    <ul id=\"testimonials\">\n	    </ul>\n\n    <div class=\"bottom\">\n      <a href=\"http://www.ratepoint.com\" class=\"logo\" target=\"_blank\" t9n:i=\"1\"> powered by <img src=\"//sitetools.ratepoint.com/images/logo_small.gif\" alt=\"logo\" /></a>\n      <span class=\"buttons\">\n        <a href=\"http://www.ratepoint.com/tellus/15354\" class=\"b my gray\" target=\"_blank\"><span><span>Provide Feedback</span></span></a>        <a href=\"http://www.ratepoint.com/seereviews/15354\" class=\"b my gray\" target=\"_blank\"><span><span>See more</span></span></a>      </span>\n    </div><!--bottom-->\n\n\n</div>\n\n<script type=\"text/javascript\">\n\n  var rp_reviews_per_page = 10;\n  var rp_reviews_count = 50\n  var rp_fill_lis = \'\';\n  \n  var rp_reviews = [{\"rating\":5,\"text\":\"All was good...\\r\\nThank you!\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"Marylu\"},{\"rating\":5,\"text\":\"Just the best of everything!\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"Bennett Rheingold\"},{\"rating\":5,\"text\":\"Received order OK. \\r\\nRec\'d 3 acknowledgements of order, one email question, answered, and same question by phone also answered. You made sure, which is good. many thanks. You deserve to do well.\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"Brian Watts\"},{\"rating\":5,\"text\":\"\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":4,\"text\":\"\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"You folks are the best. Thanks for your fast service.\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"Nearshore Electric, Inc.\"},{\"rating\":5,\"text\":\"Great to deal with. Good product and prices\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"William Ardisson\"},{\"rating\":4,\"text\":\"slow process, but very good everywhere else.\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"badazzbuckeye\"},{\"rating\":5,\"text\":\"Excellent\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"\",\"date\":\"02\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"great\",\"date\":\"01\\/26\\/2010\",\"author_name\":\"mike duffens\"},{\"rating\":5,\"text\":\"This is about the 5th time that I ordered from RELECTRIC.  My items are always in stock and mailed to me in a reasonable amount of time.  I never had a problem with RELECTRIC.  I\'ll continue to order from RELECTRIC.  \",\"date\":\"01\\/24\\/2010\",\"author_name\":\"Diane D\"},{\"rating\":5,\"text\":\"like the availability and warranty\",\"date\":\"01\\/24\\/2010\",\"author_name\":\"scott\"},{\"rating\":5,\"text\":\"Great price and fast delivery.\\r\\nAs a businessman you can\'t ask for any more than that.\",\"date\":\"01\\/24\\/2010\",\"author_name\":\"Bo Stepp\"},{\"rating\":5,\"text\":\"Good availability and pricing, outstanding customer service, excellent shipping options.\",\"date\":\"01\\/22\\/2010\",\"author_name\":\"John Thompson\"},{\"rating\":5,\"text\":\"Outstanding service.  Fast, reliable, informative, and cost effective.  Thank you very much\",\"date\":\"01\\/22\\/2010\",\"author_name\":\"JT Powell\"},{\"rating\":4,\"text\":\"Pretty good service, working items.\\r\\nRecommend the vendor.\",\"date\":\"01\\/22\\/2010\",\"author_name\":\"Seaway Corporation\"},{\"rating\":5,\"text\":\"\",\"date\":\"01\\/22\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":4,\"text\":\"\",\"date\":\"01\\/18\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"\",\"date\":\"01\\/18\\/2010\",\"author_name\":\"francisco wheelock\"},{\"rating\":5,\"text\":\"Relectric always has the breakers I need, at a GREAT price. Personal service A+++\",\"date\":\"01\\/18\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\" Extremely please with transaction and service.                Thanks,\\r\\n                          jim\",\"date\":\"01\\/15\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Great service\",\"date\":\"01\\/15\\/2010\",\"author_name\":\"Robert McGLynn\"},{\"rating\":5,\"text\":\"Pleasure to do business with.  Delivered the product as promised.  Have put company address and phone in our file for future use.\\r\\nThanks again, Ray Lewis\",\"date\":\"01\\/14\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"We had difficulty ordering on-line but received five star service from Kevin over the phone. Parts arrived on time and were as ordered. Well done and many thanks.\",\"date\":\"01\\/11\\/2010\",\"author_name\":\"Alan\"},{\"rating\":5,\"text\":\"Better deilvery than expected - prices and service very good!\",\"date\":\"01\\/11\\/2010\",\"author_name\":\"Ed\"},{\"rating\":5,\"text\":\"Order was handled efficiently and received reasonably fast\",\"date\":\"01\\/11\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Excellent info provided specific to my inquiry, the exact item identified, shipped the same day, and arrived the next as promised.  What more can you ask?\",\"date\":\"01\\/11\\/2010\",\"author_name\":\"Donald Johle\"},{\"rating\":5,\"text\":\"excellant service at a reasonable cost, I will be more than happy to use your company in the future and reccomend you to others.\",\"date\":\"01\\/11\\/2010\",\"author_name\":\"Ben Moyer\"},{\"rating\":5,\"text\":\"Kevin O\'Brien was very helpful puting together the order and geting it to the job sit on time.Thanks!\",\"date\":\"01\\/08\\/2010\",\"author_name\":\"  Charles Cunningham @ ESI\"},{\"rating\":4,\"text\":\"Didn\'t ship when promised but then over-nighted it at no extra charge. Otherwise I\'m very pleased with their service and will probably use them again. I would recommend this company to friends.\",\"date\":\"01\\/08\\/2010\",\"author_name\":\"Dave Galusha\"},{\"rating\":5,\"text\":\"I have been very pleased with the service at Relectric. The website is very convenient to navigate and when I have a question that I need answered personally Relectric\'s customer service represenative is very good to get back with me in a timely m...\",\"date\":\"01\\/08\\/2010\",\"author_name\":\"Professional Electrical Services\"},{\"rating\":5,\"text\":\"Always get awesome service from Kevin. He always goes the extra mile to make sure we are taken care of. \",\"date\":\"01\\/07\\/2010\",\"author_name\":\"Kimberly &amp; Robert\"},{\"rating\":5,\"text\":\"Great service. One minor thing is that I receive two identical email from you. Thanks.\",\"date\":\"01\\/07\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"\",\"date\":\"01\\/04\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"A great experience\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Dave Hiller\"},{\"rating\":5,\"text\":\"very good service\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Excellent personal service. Products are just as expected. Very competitive prices.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Orders are processed fast and follow up is good.  They are a great resource.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Very Pleased with service your Company\\r\\ngives Me.  I cant say enough about Salesman\\r\\nSEAN NEWELL He does a great Job for me.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Ron\"},{\"rating\":5,\"text\":\"Great service and response time. It was simple to do the ordering and the follow up emails kept me well informed. I will definetly use and recommend you again!\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Brad Ekre\"},{\"rating\":5,\"text\":\"Very prompt service, well packed. Quality products as described on web site. I\'ve purchased breakers several times and have always been totally satisfied.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Electrical Trainer\"},{\"rating\":5,\"text\":\"We needed some GE contacts immediately. They helped us figure out the correct part number and shipped them overnight. Service was great!\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":4,\"text\":\"Everything was as expected. Received in a timely manner considering the holidays. Would purchase again from your company. Thank you.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Larry\"},{\"rating\":5,\"text\":\"Relectric had what I needed and expidited the delivery. The testing for the circuit breakers prior to selling is a must when purchasing obsolete circut breakers.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"Benson Electric C&amp;C Inc.\"},{\"rating\":4,\"text\":\"Order took a few days but it was during the Christmas rush...delay was understandable. Packaging was good.\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"PJC\"},{\"rating\":5,\"text\":\"I recieved the motor contactor equipment as advertised and in a timely manner.  The equipment has been installed and works well.  Thanks\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":4,\"text\":\"\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"RatePoint Reviewer\"},{\"rating\":5,\"text\":\"Relectric is a company that offers value pricing and great customer service, something that is not always easy to find...\\r\\nAfter placing multiple orders with them I would rate this company as a 10+,and would recommend them to anyone needing a reli...\",\"date\":\"01\\/02\\/2010\",\"author_name\":\"C.Overton\"},{\"rating\":4,\"text\":\"very cooperative over phone &amp; net, helped to resolve a problem over the phone witch allowed me to get my elec. back on sooner. \",\"date\":\"12\\/11\\/2009\",\"author_name\":\"brandon\"}]\n  var rp_star_url = \'//sitetools.ratepoint.com/images/widget_star.gif\'\n  var rp_nostar_url = \'//sitetools.ratepoint.com/images/widget_star_gray.gif\'\n  \n\n	rp_randomize_ids = function(page, level, count, max)\n	{\n      if (level == count) return page;\n      id = Math.round(Math.random() * (max-1))\n      if ( id >= max || page[id]) { // retry\n        return rp_randomize_ids(page, level, count, max)\n      } else {\n        page[id] = id\n        return rp_randomize_ids(page, level + 1, count, max)\n      }\n	};\n	\n	rp_render_rating = function(count, url) {\n    var star = \'<img class=\"star\" src=\"\' + url + \'\" />\';\n    var stars = [];\n    for(var i = 0; i< count; i++) { stars.push(star) }\n    return stars.join(\' \');\n  };\n  \n\n  rp_generate_page = function(reviews, page)\n  {\n    var result = \'\';\n    var j = 0;\n    for (var i in page) {\n      reviews[i]\n      result += \'<li class=\"\' + (j % 2 ? \'\' : \'odd\') + \'\" t9n:i=\"1\">\' +\n        \'<span class=\"text\">\' + reviews[i].text + \' <span class=\"quote_end\"> </span></span>\' +\n                \'<div class=\"rate block\">\' + rp_render_rating(reviews[i].rating, rp_star_url) + rp_render_rating(5 - reviews[i].rating, rp_star_url) + \'</div>\' +\n                        \'<span class=\"grey\">by </span><span class=\"strong\">\' + reviews[i].author_name +\'</span><br />\' +\n                        \'<span class=\"grey\">on </span>\' + reviews[i].date +\n                \'</li>\';\n      j++;\n    }\n    return result;\n  };\n  \n	rp_render_page = function()\n	{\n    if (document.getElementById(\'testimonials\')) {\n      var page = rp_randomize_ids({}, 0, rp_reviews_per_page, rp_reviews_count);\n      var reviews = rp_generate_page(rp_reviews, page);\n      document.getElementById(\'testimonials\').innerHTML = reviews + rp_fill_lis;\n    }\n	};\n	\n  rp_render_page();\n\n  rp_apply_styles = function()\n  {\n    var first_entries_count = 2;\n    if(document.getElementById(\'testimonials\')){\n     var lis = document.getElementById(\'testimonials\').getElementsByTagName(\'li\')\n     for (var i = 0; i < first_entries_count; i +=1 ) {\n       var li = lis[i]\n       if (li) li.className += \' first\'\n     } \n    }\n  };\n\n  rp_apply_styles();\n</script>\n    \n\n</body>\n</html>\n")
  iframeDoc.close();
  if (typeof iframeDoc.addEventListener != "undefined") {
    iframeDoc.addEventListener("DOMContentLoaded", dyniframesize, null);
  }
}

function dyniframesize() {
	var dyniframe=new Array()
	for (i=0; i<iframeids.length; i++){
		if (document.getElementById){ //begin resizing iframe procedure
			dyniframe[dyniframe.length] = document.getElementById(iframeids[i]);
			if (dyniframe[i]){
				dyniframe[i].style.display="block"
				if (dyniframe[i].contentDocument && dyniframe[i].contentDocument.body.offsetHeight) //ns6 syntax
					dyniframe[i].height = dyniframe[i].contentDocument.body.offsetHeight+FFextraHeight; 
				else if (dyniframe[i].Document && dyniframe[i].Document.body.scrollHeight) //ie5+ syntax
					dyniframe[i].height = dyniframe[i].Document.body.scrollHeight;
			}
		}
	}
}
/*-->*/