Skip to content

Instantly share code, notes, and snippets.

@darkfrog26
Created June 29, 2012 14:22
Show Gist options
  • Save darkfrog26/3018242 to your computer and use it in GitHub Desktop.
Save darkfrog26/3018242 to your computer and use it in GitHub Desktop.
import org.hyperscala._
import org.hyperscala.js.JavaScript
import org.hyperscala.style._
import org.hyperscala.tags._
import org.hyperscala.tags.attributes._
import org.sgine.Color
object TelefloraImport extends WebPage("TelefloraImport") {
head.title := "Flowers, Florist Flower Delivery - Send Flowers Online - Teleflora"
head.contents += new Meta(httpEquiv = "content-type", content = "text/html; charset=ISO-8859-1")
head.contents += new Meta(name = "description", content = "Choose from a beautiful selection of fresh flowers delivered by neighborhood florists for any occasion. Same-day delivery available for as little as $29.99!")
head.contents += new Meta(name = "keywords", content = "flowers, florist flower delivery, send flowers online")
head.contents += new Meta(name = "google-site-verification", content = "Iwr5hC2V1ePFfb9leSv0YkyIBMeFGvwFlI_mvgAiKf4")
head.contents += new Link(rel = "shortcut icon", href = "http://www.teleflora.com/images/vendors/00005557/favicon.ico") {
custom("mce_href", "http://www.teleflora.com/images/vendors/00005557/favicon.ico")
}
head.contents += new Link(rel = "canonical", href = "http://www.teleflora.com/")
head.contents += new Meta(httpEquiv = "X-UA-Compatible", content = "IE=edge")
head.contents += new Link(rel = "publisher", href = "https://plus.google.com/100526418672981576007")
head.contents += new Script(async = "", src = "teleflora_files/cbgapi.loaded_0")
head.contents += new Script() {
contents += JavaScript("""//var opPageName = 'Summer Home Page';""")
}
head.contents += new Script(src = "teleflora_files/plusone.js", mimeType = "text/javascript") {
custom("gapi_processed", "true")
}
head.contents += new Meta(content = "66721388277") {
custom("property", "fb:page_id")
}
head.contents += new Link(rel = "shortcut icon", href = "http://www.teleflora.com/images/vendors/00005557/favicon.ico") {
custom("mce_href", "http://www.teleflora.com/images/vendors/00005557/favicon.ico")
}
head.contents += new Link(rel = "canonical", href = "http://www.teleflora.com/")
head.contents += new Link(rel = "stylesheet", mimeType = "text/css", href = "teleflora_files/hp_styles_minified.css")
head.contents += new Script(src = "teleflora_files/optesthead.js", mimeType = "text/javascript")
head.contents += new Script() {
contents += JavaScript("""try { for(var lastpass_iter=0; lastpass_iter < document.forms.length; lastpass_iter++){ var lastpass_f = document.forms[lastpass_iter]; if(typeof(lastpass_f.lpsubmitorig)=="undefined"){ if (typeof(lastpass_f.submit) == "function") { lastpass_f.lpsubmitorig = lastpass_f.submit; lastpass_f.submit = function(){ var form = this; try { if (document.documentElement && 'createEvent' in document) { var forms = document.getElementsByTagName('form'); for (var i=0 ; i<forms.length ; ++i) if (forms[i]==form) { var element = document.createElement('lpformsubmitdataelement'); element.setAttribute('formnum',i); element.setAttribute('from','submithook'); document.documentElement.appendChild(element); var evt = document.createEvent('Events'); evt.initEvent('lpformsubmit',true,false); element.dispatchEvent(evt); break; } } } catch (e) {} try { form.lpsubmitorig(); } catch (e) {} } } } }} catch (e) {}""")
}
head.contents += new Style() {
contents += """/* -------- HTML5 Reset Stylesheet Start -------- */
* {
}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, /*table, caption, tbody, tfoot, thead, tr, th, td,*/
caption, tbody, tfoot, thead, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
vertical-align:baseline;
}
html, body {
/* line-height:1; //comment out to fix space problem on the bottom of footer. */
/* line-height:0;*/
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display:block;
}
nav ul {
list-style:none;
}
blockquote, q {
quotes:none;
}
blockquote:before, blockquote:after, q:before, q:after {
content:'';
content:none;
}
a {
margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
/* background:transparent;*/
line-height:1;
}
ins {
color:#000;
text-decoration:none;
}
mark {
color:#000;
font-style:italic;
font-weight:bold;
}
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom:1px dotted;
cursor:help;
}
table {
border-collapse:collapse;
border-spacing:0;
line-height:1;
}
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}
input, select {
vertical-align:middle;
}
/* Homepage v5 CSS
==============================================*/
a {
outline: none;
}
/* -------- Cleaning float ------ */
.clearfix:after {
content: "."; /* make NEW element */
display: block; /* set Block Level */
clear: both;
height: 0;
visibility: hidden;
}
/* IE6,7 */
.clearfix {
min-height: 1px;
}
/* Mac IE5.x */
* html .clearfix {
height: 1px;
height: auto;
overflow: hidden;
/**/
}
body {
background:#f0f0ef;
}
/* Header
==============================================*/
#header_container {
width:100%;
background-color:#3b4cb4;
text-align:center;
}
#header {
width:980px;
margin:0 auto;
text-align:left;
}
#logoarea {
float:left;
width:380px;
font-family:verdana, Helvetica, sans-serif;
font-size:11px;
color:#fff;
margin:0;
padding:0;
text-transform:none;
font-style:italic;
font-weight:nomal;
}
#logoarea h1 {
display:inline;
font-family:verdana, Helvetica, sans-serif;
font-size:11px;
color:#fff;
margin:0;
padding:0;
font-weight:100;
font-style:italic;
margin-right:5px;
margin-left:5px;
}
#logoarea .greenbar {
width:160px;
height:8px;
background-color:#718af8;
}
#logoarea .TFlogo {
display:inline;
/* margin-left: 6px;*/
}
.TFlogo-smalltext {
position:relative;
top:-21px;
}
#header_search {
float:right;
width:350px;
}
/* Header - SLI Search
==============================================*/
#SLISearchArea {
position:relative;
padding:10px 0;
float:right;
text-align:right;
width:400px;
text-transform:none;
font-style:normal;
}
.search {
font-family:"Times New Roman", Times, serif;
font-size:14px;
color:#fff;
padding-right:5px;
}
.SLISearchForm {
font-family: Verdana, Arial, sans-serif;
color: #000;
/* background-color:#ff7c02;*/
background-color:#ffffff;
/* font-weight:900;*/
font-size: 10px;
width:140px;
height : 25px;
line-height: 25px;
vertical-align: middle;
border: 0px;
padding: 0px 5px 0px 5px;
margin: 0px;
}
.search_btn {
position:relative;
vertical-align: middle;
left:-3px;
}
/* Header - Login
==============================================*/
#LoginArea {
position:relative;
float:right;
width:430px;
text-align:right;
font-family: Verdana, Arial, sans-serif;
color: #fff;
font-size:11px;
text-transform:uppercase;
border:0px solid green;
top:10px;
}
#LoginArea span, #LoginArea td, #LoginArea a {
position:relative;
font-family: Verdana, Arial, sans-serif;
color: #fff;
font-size: 10px;
text-transform:uppercase;
}
#LoginArea a:hover {
text-decoration:underline;
color: #fff;
}
.vendorphone {
margin-right:15px;
}
.myaccont {
margin-right:15px;
}
.signout {
margin-right:0px;
}
.login {
margin-right:0px;
}
a.signin {
color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: 100;
text-transform: uppercase;
text-decoration:none;
margin-right:15px;
}
a.signin:hover {
color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: 100;
text-transform: uppercase;
text-decoration:underline;
}
/* Hero Image
==============================================*/
#main_container{
width:100%;
background:url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/bg_main_v5.gif') 0 0 repeat-x;
text-align:center;
position:relative;
height:556px;
overflow:hidden;
}
#slide-container {
width: 1600px;
height:556px;
position: absolute;
left: 50%;
}
#slides{
position: absolute;
left: -800px;/* Shift half width left 1600/2=800 */
width:1600px;
height:556px;
}
#slides img{
float:left;
}
#controller-container{
position:relative; left:0px; top:-315px; width:100%; height:0px; margin:0 auto; float:left;
}
#prev{
width: 72px;
height: 72px;
position: absolute;
left: 0pt; /* IMPORTANT */
margin: 0px;
display: block;
background:url(http://teleflora.edgesuite.net/images/vendors/00005557/flowers/20120305_prev.png) 0 0 no-repeat;
opacity:0.4;
z-index: 100;
}
#next{
width: 72px;
height: 72px;
position: absolute;
right:0px; /* IMPORTANT */
margin: 0px;
cursor: pointer;
display: block;
background:url(http://teleflora.edgesuite.net/images/vendors/00005557/flowers/20120305_next.png) 0 0 no-repeat;
opacity:0.4;
z-index: 100;
}
#mday_banner {
position: relative;
left: 477px;
top:0px;
z-index: 200;
}
/* Hero Image Price
==============================================*/
.hero_price_container{
position:relative;
top:0;
left:0;
/* width:300px;*/
margin:0;
text-align:left;
}
.hero_price_base {
font-family:"Times New Roman", Times, serif;
font-size:16px;
font-style:normal;
color:#c61f26;
text-align:left;
position:absolute;/*IMPORTANT*/
}
.hero_price1 {
left: 1160px;
top: -60px;
}
.hero_slashprice1 {
text-decoration: line-through;
left: 1160px;
top: -60px;
}
.hero_salesprice1 {
left: 1210px;
top: -60px;
}
.hero_price2 {
left: 430px;
top: -58px;
}
.hero_slashprice2 {
text-decoration: line-through;
left: 410px;
top: -58px;
}
.hero_salesprice2 {
left: 460px;
top: -58px;
}
.hero_price3 {
left: 1180px;
top: -57px;
}
.hero_slashprice3 {
text-decoration: line-through;
left: 1150px;
top: -55px;
}
.hero_salesprice3 {
left: 1200px;
top: -55px;
}
.hero_price4 {
left: 400px;
top: -57px;
}
.hero_slashprice4 {
text-decoration: line-through;
left: 375px;
top: -57px;
}
.hero_salesprice4 {
left: 425px;
top: -57px;
}
/* Bottom Area(Sub Menu, Tile)
==============================================*/
#v5_hp_bottom_wrapper{
width:100%;
/* background:#f0f0ef url('http://teleflora.edgesuite.net/images/vendors/00005557/hpv2/bg_bottom_left.gif') 0 0 repeat-x;*/
text-align:center;
background-color:#f2f3f1;
}
#v5_bottom_inner {
position:relative;
width:1100px;
margin:0 auto;
background:url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/bg_bottom_main_new.gif') 0 0 repeat-x;
text-align:center;
}
#bottombox_container{
position: relative;
width:980px;
margin:0 auto;
text-align:left;/*IMPORTANT FOR IE*/
padding-top:30px;
padding-bottom:5px;
}
#bottombox-2tile{
width:980px
}
img.bottom-2tile-lavish{
float:left;
}
img.bottom-2tile-FH{
float:right;
}
.hero_end_bg{
width:100%;
height:13px;
background:url(http://teleflora.edgesuite.net/images/vendors/00005557/flowers/20120505_bgV5_1.gif) 0 0 repeat-x;
}
/* Bottom Area - Price
==============================================*/
/* Bottom Area Caption Part
==============================================*/
/* Sub Navigation
==============================================*/
/* Footer - Section No.1
==============================================*/
#footer_wrapper{
background-color:#fff;
}
#footer_section1{
background:#ffffff url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/bg_same-day-delivery_new_v5.gif') 0 0 no-repeat;
width:980px;
height:126px;
margin:0 auto;
}
#footer_section1 #winflower {
float: left;
margin-left: 10px;
margin-top: 28px;
text-align:left;
}
#footer_section1 #same-day-delivery{
float: left;
margin-left: 30px;
margin-top: 30px;
}
#footer_section1 #tfnews{
float: left;
margin-left: 35px;
margin-top: 30px;
}
/* Footer - Section No.2
==============================================*/
#footer_section2{
background:url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/bg_footer_customerservice_new2_v5.gif') 0 0 no-repeat;
width:980px;
height:153px;
margin:0 auto;
}
/* Teleflora Coach*/
#footer_section2 #tfcoach{
float:left;
height:100px;
position:relative;
top:25px;
font-family:'Open Sans', Verdana, Geneva, sans-serif; color:#666666;
font-size:11px;
margin-right: 45px;
position: relative;
color:#818080;
}
#tfcoach .thumb {
float: left;
height: 43px;
position: relative;
width: 69px;
}
#tfcoach .coach-text {
font-family:'Open Sans', Verdana, Geneva, sans-serif; color:#666666;
float: left;
font-size: 11px;
line-height: 13px;
margin-top: 1px;
position: relative;
text-align: left;
}
#tfcoach .coach-text a {
color: #535353;
font-family: 'Open Sans',Verdana,Geneva,sans-serif;
font-size: 11px;
font-weight: bold;
position: relative;
top: 5px;
}
.footertitle{
color:#444444;
font-size:12px;
/* font-family:'Open Sans', Verdana, Geneva, sans-serif;*/
font-family:'Ubuntu', sans-serif, Geneva,Verdana, sans-serif;
margin-bottom:10px;
text-align:left;
}
/* Customer Service */
#footer_section2 #cs{
float:left;
color:#818080;
height:100px;
position:relative;
top:25px;
font-family:'Open Sans', Verdana, Geneva, sans-serif;
font-size:11px;
margin-right: 55px;
}
#cs a{
font-family:'Open Sans', Verdana, Geneva, sans-serif;
font-size:11px;
color:#818080;
}
#cs .cs-phone{
text-align:left;
margin-top:15px;
margin-bottom:0px;
font-size: 12px;
}
#cs .feedback {
line-height: 13px;
margin-bottom: 0;
margin-top: 8px;
text-align: left;
}
/* Footer - Join US */
#footer_section2 #joinus {
color: #818080;
float: left;
font-family: 'Open Sans', Verdana,Geneva,sans-serif;
font-size: 11px;
position: relative;
top:25px;
margin-right:25px;
}
.facebooklike{float:left;}
.media-facebook{float:left; margin-right:5px; position:relative; top:-12px;}
.media-twitter{float:left; margin-right:5px; position:relative; top:-12px;}
.media-youtube{float:left; margin-right:5px; position:relative; top:-12px;}
.media-pinterest {
float:left;
margin-right:5px;
position:relative;
top:-12px;
}
.media-googleplus {
float:left;
position:relative;
top:-12px;
}
.fan_box .connect_widget .connect_widget_interactive_area {
margin: 0;
}
.media-read-blog{clear:both; text-align:left; padding-top:5px; position:relative; top:-10px;}
.media-read-blog a{
font-weight:bold;
}
.hp-tiles-media-facebooklike {
border: 0 solid red;
left: -10px;
position: relative;
top: -12px;
width: 200px;
}
/* Footer - About US */
#footer_section2 #aboutus {
border: 0 solid red;
color: #818080;
float: left;
font-family: 'Open Sans', Verdana,Geneva,sans-serif;
font-size: 12px;
height: 100px;
position: relative;
top:25px;
width:100px;
}
#aboutus .aboutus-link{
text-align:left;
margin-bottom:2px;
}
.aboutus-link a{
font-family:'Open Sans', Verdana, Geneva, sans-serif;
font-size:11px;
color:#818080;
}
/* FLOWER GUIDE */
#footer_section2 #flower-guide {
color: #818080;
float: left;
font-family: 'Open Sans',Verdana,Geneva,sans-serif;
font-size: 11px;
height: 100px;
margin-right: 50px;
position: relative;
top:25px;
}
#flower-guide a{
font-family:'Open Sans', Verdana, Geneva, sans-serif;
font-size:11px;
color:#818080;
}
#flower-guide .thumb {
float: left;
left: -7px;
position: relative;
width: 56px;
height:57px;
}
#flower-guide .flower-guide-text, .flower-guide-text a {
float: left;
font-size:11px;
left: -3px;
line-height: 13px;
margin-top: 5px;
position: relative;
text-align: left;
}
/* Footer Section No.3
==============================================*/
#footer_section3{
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
color:#898686;
text-decoration:none;
font-size:11px;
line-height:14px;
padding-top:20px;
position:relative;
width:980px;
text-align:center;
margin:0 auto;
}
#footer_text_left{
float:left; width:450px; text-align:left; padding-left:25px;
}
#footer_text_right{
float:right; width:450px; text-align:left; padding-right:25px;
}
#footer_section3 p{
margin-bottom:17px;
text-align:left;
}
#footer_section3 a{
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
color:#818080;
text-decoration:underline;
font-size:11px;
}
#footer_section3 a.flower-news-link{
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
color:#818080;
text-decoration:underline;
font-size:11px;
}
#footer_section3 a.join-community-link{
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
color:#818080;
text-decoration:underline;
font-size:11px;
}
#footer_section3 a{
text-decoration:underline;
}
#footer_section3 ul{
list-style: none;
margin:0;
padding:0;
text-align:left;
}
/* Footer Section No.4
==============================================*/
#footer_section4{
background:url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/bg_footermenu_v5.gif') 0 0 no-repeat;
width:980px;
height:206px;
margin:0 auto;
margin-top:20px;
padding-top:10px;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
color:#818080;
text-decoration:none;
}
#footer_section4 a{
color: #818080;
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
font-size: 11px;
text-decoration: none;
}
#footer_section4 a:hover{
text-decoration: underline;
}
#footer_section4 .fmenu1{
float:left;
margin-top:38px;
padding:0px 35px 0px 15px;
text-align:left;
}
#footer_section4 .fmenu1 .title{
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size:11px;
margin-bottom:5px;
margin-left:3px;
font-weight:bold;
}
#footer_section4 .fmenu2{
float:left;
padding-right:35px;
position:relative;
top:55px;
text-align:left;
}
#footer_section4 .fmenu3{
float:left;
padding-right:35px;
position:relative;
top:55px;
text-align:left;
}
#footer_section4 .fmenu4{
float:left;
margin-top:39px;
padding-right:35px;
text-align:left;
}
#footer_section4 .fmenu4 .title{
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size:11px;
margin-bottom:5px;
margin-left:5px;
font-weight:bold;
}
#footer_section4 .fmenu5{
float:left;
position:relative;
top:55px;
text-align:left;
}
.fmenu1 ul li, .fmenu2 ul li, .fmenu3 ul li, .fmenu4 ul li, .fmenu5 ul li{
background: #fff url('http://teleflora.edgesuite.net/images/vendors/00005557/flowers/fmenu_arrow_v5.gif') 0px 4px no-repeat;
list-style-type: none;
margin-left: 0px;
padding: 5px 0px 5px 15px;
}
.fmenu1 a, .fmenu2 a, .fmenu3 a, .fmenu4 a, .fmenu5 a{
color: #818080;
font-family: 'Open Sans',Arial,Helvetica,sans-serif;
font-size: 11px;
text-decoration: none;
}
/*
.fmenu1 a:hover, .fmenu2 a:hover, .fmenu3 a:hover, .fmenu4 a:hover, .fmenu5 a:hover{
text-decoration:underline;
}
*/
/* Footer - Copyright Updated 041312
==============================================*/
#tfcopyright {
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#b0b0b0;
font-size:10px;
width:940px;
height:40px;
background-color:#fff;
margin:0 auto;
text-align:left;
}
/* TopNav - Updated 040212
==============================================*/
#topnav_container {
width:100%;
height:45px;
text-align:center;
background-color:#f1f1f1;
}
#topnav_inner {
position:relative;
width: 980px;
text-align:center;
margin:0 auto;
left: 0px;
z-index:2222;
}
/* -------- Top Navigation ------ */
.container {
width: 810px;
padding: 0;
margin: 0 auto;
}
ul#topnav {
margin: 0;
padding: 0;
float:left;
width: 100%;
list-style: none;
font-size: 1.1em;
}
ul#topnav li {
float: left;
margin: 0;
position: relative;
text-align:left;
}
ul#topnav li a {
float: left;
font-size:20px;
font-family: 'Cardo', "Times New Roman", Times, serif;
color:#000;
text-decoration:none;
letter-spacing:0px;
height:45px;
line-height:45px;
}
.first-level {
padding-left:15px;
padding-right:25px;
position: relative;
z-index: 3333;
}
.first-level-hover {
background: #ffffff;
color: #3b4cb4 !important;
text-indent:4.1mm !important;
}
ul#topnav li .sub {
position: absolute;
top: 45px;
left: 0px;/*IMPORTANT OF IE */
background-color:#ffffff;
padding-bottom:5px;
padding-top:10px;
z-index:2222;
display: none;
text-align:left;
}
ul#topnav li .sub ul {
list-style: none;
margin: 0;
padding: 0;
width: 200px;
float: left;
background-color:#ffffff;
}
ul#topnav .sub ul li {
width: 100%;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color:#000;
background-color:#ffffff;
}
ul#topnav .sub ul li a {
float: none;
text-indent: 0; /*--Reset text indent--*/
height: auto;
margin-left:5px;
margin-right:5px;
padding-left:11px;
display: block;
text-decoration: none;
color: #000;
font-size: 12px;
font-family:Arial, Helvetica, sans-serif;
letter-spacing:0px;
background-color:#ffffff;
line-height:21px;
}
ul#topnav .sub ul li a:hover {
color: #000;
background-color:#718af8;
}
ul#topnav li .sub {
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.subheader {
background: transparent;
color: #000000;
cursor: pointer;
display: none;
font-family: 'Cardo', "Times New Roman", Times, serif;
font-size: 20px;
height: 45px;
left: 0px;
letter-spacing: 0;
line-height: 45px;
position: absolute;
text-decoration: none;
text-indent: 23px;
top: 0px;
-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.7);
-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.7);
box-shadow:0 5px 10px rgba(0, 0, 0, 0.7);
width: 100%;
}
ul#topnav li .subheader a {
color: #000000;
font-family: 'Cardo', "Times New Roman", Times, serif;
font-size: 20px;
letter-spacing: 0;
text-decoration: none;
text-indent: 15px;
}
a.hp-topnav-dealoftheday {
padding-left:15px;
padding-right:25px;
}
a.hp-topnav-dealoftheday:hover {
color: #3B4CB4 !important;
}"""
}
head.contents += new Style() {
contents += """/* v5 Bottom Area(Sub Menu, Tile)
==============================================*/
#v5_hp_bottom_wrapper {
width:100%;
background:#ffffff;
text-align:center;
}
#v5_bottom_inner {
position:relative;
width:980px;
margin:0 auto;
background:#ffffff;
text-align:center;
}
@media only screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-min-device-pixel-ratio: 1)
{
/* Your iPad specific rules here */
#v5_bottom_inner {
width:1150px !important;
}
}
#v5_bottombox_container {
position: relative;
width:980px;
margin:0 auto;
text-align:left;/*IMPORTANT FOR IE*/
padding-top:25px;
padding-bottom:20px;
}
#bottombox-2tile {
width:980px
}
img.bottom-2tile-lavish {
float:left;
}
img.bottom-2tile-FH {
float:right;
}
/* Bottom Area - Price
==============================================*/
#bottom-price-container {
position: relative;
width:980px;
margin:0 auto;
text-align:left;/*IMPORTANT FOR IE*/
}
.bottom_price_base {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:8pt;
font-weight:normal;
color: #444444;
position:relative;
top: 0px;
display:inline;
}
.bottom-price-box2 {
position: relative;
text-align: right;
top: -45px;
width: 481px;
left:500px;
}
.bottom_price2 {
padding-right:80px;
top: 0px;
}
.bottom_slashprice2 {
text-decoration: line-through;
padding-right:3px;
top: 0px;
}
.bottom_salesprice2 {
margin:0px;
top: 0px;
padding-right:60px;
}
/* Main Container
==============================================*/
#v5_main_container {
width:100%;
background: #ffffff;
text-align:center;
position:relative;
/* min-height:600px;*/
}
/*
#mday_banner {
float: right;
height: 0px;
position: relative;
right: 0;
top: -218px;
z-index: 200;
}
*/
.level {
width: 980px;
margin: 0 auto;
text-align:center;
position:relative;
border-bottom: 1px solid #DADADA;
clear: both;
background-color:#ffffff;
}
#level1 {
height: 595px;
margin-top: 30px;
}
#level2 {
height: 385px;
}
#level3 {
height: 325px;
}
.level-inner {
/* float:left;*/
/* width: 100%;*/
margin-left:35px; /* added by hy to center alignment. */
}
#level2 .hp-box, #level3 .hp-box {
padding: 10px 13px 20px 13px;
}
.hp-box {
float:left;
position:relative;
}
.hp-box1 {
width: 500px;
}
.hp-box2 {
width: 480px;
margin: 0 0 75px;
}
.hp-box3 {
width: 240px;
}
.hp-box4 {
width: 240px;
margin-top: 40px;
}
.hp-box1-textarea {
position: absolute;
left:45px;
top: 480px;
width: 125px;
background: transparent;
}
.hp-box-imagearea {
width:100%;
}
.hp-box-textarea {
color: #444444;
font-family: 'Varela', sans-serif;
font-size: 11px;
line-height: 15px;
text-align: center;
text-transform: capitalize;
}
.hp-box-productname {
width:100%;
color: #8f918b;
font-family: 'Varela', sans-serif;
font-size: 12px;
text-align: center;
padding-bottom: 5px;
}
.hp-box-productname a {
color: #8f918b;
font-family: 'Varela', sans-serif;
font-size: 12px;
text-align: center;
text-transform: capitalize;
}
.hp-box-productprice {
width:100%;
padding-bottom: 5px;
}
.hp-box-productprice a:hover {
text-decoration: none !important;
}
.text-bar {
width: 100%;
text-align:center;
margin:0 auto;
color: #DD0178;
font-family: 'Cardo', "Times New Roman", Times, serif;
font-size: 22px;
text-align: center;
/* padding:15px 0;*/
}
.text-bar a {
color: #DD0178;
font-family: 'Cardo', "Times New Roman", Times, serif;
font-size: 22px;
text-align: center;
}
.text-bar a:hover {
text-decoration:none;
}
.hp-box2-position {
margin-top: 0px;
margin-left: 20px;
text-align:left;
}
/* HP Product Price
==============================================*/
.price_base {
font-family: 'Varela', sans-serif;
font-size:8pt;
font-weight:normal;
color: #444444;
text-align:left;
}
.price1 {
font-weight:bold !important;
}
.salesprice1 {
font-weight:bold !important;
color: #900B06;
}
.slashprice1 {
text-decoration: line-through !important;
font-weight:normal !important;
color: #8f918b;
}
.hp-box-shopnow {
width:100%;
text-decoration: none;
}
.hp-box-shopnow a:hover {
text-decoration: none;
}
.hp-box-shopnow-text {
font-family:'Varela', sans-serif;
font-size:14px;
font-weight:bold;
color:#3b4cb4;
float: left;
text-align:center;
padding: 0 8px 0 17px;
text-decoration: none;
}
.hp-box-shopnow-text:hover {
text-decoration: none;
}
.hp-box1 .hp-box-shopnow {
margin-left: 10px;
}
.hp-box3 .hp-box-shopnow, .hp-box4 .hp-box-shopnow {
margin-left: 70px;
}
#level2 .hp-box-shopnow, #level3 .hp-box-shopnow {
margin-left: 32px;
}
.hp-box-shopnow-arrowright {
width: 0;
height: 0;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #3b4cb4;
float: left;
margin-top:4px;
}"""
}
head.contents += new Style() {
contents += """#promocode {
height: 27px;
margin-left: 86px;
margin-top: 15px;
width: 290px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
#promocode {
margin-left: 88px;
}
}
@-moz-document url-prefix() {
#promocode {
margin-left: 86px;
}
}"""
}
head.contents += new Style() {
contents += """.hp-box-category-name {
text-align:center;
padding: 0 8px 10px 5px;
}
.hp-box-category-name a{
font-family:'Varela', sans-serif;
font-size:16px;
font-weight:bold;
color:#3b4cb4;
text-align:center;
padding: 0 8px 10px 17px;
text-decoration: none;
}
.hp-box-category-name a:hover{
font-family:'Varela', sans-serif;
font-size:16px;
font-weight:bold;
color:#3b4cb4;
text-align:center;
padding: 0 8px 10px 17px;
text-decoration: none;
}"""
}
head.contents += new Style() {
contents += """.gy7tdn{}"""
}
head.contents += new Style() {
contents += """#promocode {
height: 27px;
margin-left: 86px;
margin-top: 15px;
width: 290px;
}
#extra-modal-container {position: absolute; z-index:9999; top:-400px; left:285px; overflow:hidden; display:none;}
@media screen and (-webkit-min-device-pixel-ratio:0)
{ #promocode { margin-left: 88px; } }
@-moz-document url-prefix() {
#promocode{
margin-left: 86px;
}
}"""
}
body.contents += new Script(src = "teleflora_files/opteststart.js", mimeType = "text/javascript")
body.contents += new Script(src = "teleflora_files/mmcore.js", mimeType = "text/javascript")
body.contents += new Script(id = "mmcore.1", charSet = "utf-8", src = "teleflora_files/a", mimeType = "text/javascript")
body.contents += new Div() {
custom("align", "center")
contents += new Table(border = "0", id = "Table1") {
custom("bgcolor", "#ffffff")
custom("cellspacing", "0")
custom("cellpadding", "0")
custom("width", "100%")
contents += new TBody() {
contents += new Tr() {
contents += new Td() {
contents += new Script(src = "teleflora_files/jquery_003.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/jquery_004.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/jquery-ui.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/mosaic.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/jquery_002.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/topnavurl.js", mimeType = "text/javascript")
contents += new Div(id = "promo_container") {
style.width := 100.%
contents += new Div() {
custom("align", "right")
}
}
contents += new Div(id = "header_container") {
contents += new Div(id = "header", clazz = "clearfix") {
contents += new Div(id = "logoarea") {
contents += new Div(clazz = "greenbar")
contents += new Div(clazz = "TFlogo") {
contents += new A(title = "Teleflora Logo", href = "http://www.teleflora.com/") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_TFLogo', 'v5_TFLogo'); return false;")
contents += new Img(height = "73", alt = "Teleflora", src = "teleflora_files/20120322_logo_v5.gif", width = "148") {
custom("border", "0")
}
}
contents += new Span(clazz = "TFlogo-smalltext") {
contents += """Fresh"""
contents += new H1() {
contents += """flowers"""
}
contents += """hand-delivered daily."""
}
}
}
contents += new Div(id = "header_search") {
contents += new Div(id = "SLISearchArea") {
contents += new Form(method = "get", name = "searchform", id = "Form1", action = "http://flowers.teleflora.com/search") {
custom("onsubmit", "if($('#sli_search_1').val() == ''){return false;} else {_gaq.push(['_linkByPost',this]);};return ajaxsearchsubmit(this)")
contents += new Input(name = "fm", id = "Hidden1", inputType = InputType.Hidden, value = "home")
contents += new Input(name = "promotioncode", id = "Hidden2", inputType = InputType.Hidden, value = "")
contents += new Span(clazz = "search") {
contents += """search"""
}
contents += new Input(name = "w", id = "sli_search_1", clazz = "SLISearchForm", inputType = InputType.Text, autoComplete = "off")
contents += new Input(name = "Image1", id = "Image1", alt = "go", src = "teleflora_files/20120305_search_btn.gif", clazz = "search_btn", inputType = InputType.Image) {
custom("border", "0")
}
contents += new Input(name = "asug", id = "Hidden3", disabled = true, inputType = InputType.Hidden)
}
}
contents += new Div(id = "LoginArea") {
contents += new Span(clazz = "vendorphone") {
style.color := Color.White
contents += """800-835-3356"""
}
contents += new Span(clazz = "login") {
contents += new A(clazz = "signin", href = "https://www.teleflora.com/secure/myacctlogin.asp") {
contents += """MY ACCOUNT"""
}
}
contents += new A(href = "http://www.teleflora.com/basket.asp") {
contents += """My CART(0)"""
}
}
}
}
}
contents += new Div(id = "topnav_container") {
contents += new Div(id = "topnav_inner", clazz = "clearfix") {
contents += new Ul(id = "topnav") {
contents += new Li() {
contents += new A(clazz = "hp-topnav-dealoftheday", title = "", href = "http://www.teleflora.com/flowers/bouquet/florists-choice-bouquet-316088p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'deal of the day', 'TopNav', 'TopNav'); return false")
contents += """deal of the day"""
}
}
contents += new Li() {
contents += new A(clazz = "first-level hp-topnav-birthday", title = "", href = "http://www.teleflora.com/birthday/birthday-flowers-all-64062_64063c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """+ birthday"""
}
contents += new Div(clazz = "subheader")
contents += new Div(clazz = "sub") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-all-64062_64063c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """Birthday for Everyone"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-for-her-64062_106809c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """Birthday for Her"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-for-him-64062_106808c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """Birthday for Him"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-for-kids-64062_107305c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """Birthday for Kids"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/lavish-collection.asp") {
custom("onclick", "OmnitureTrack(this.href, 'birthday', 'TopNav', 'TopNav'); return false")
contents += """The Lavish Collection"""
}
}
}
}
}
contents += new Li() {
contents += new A(clazz = "first-level hp-topnav-occasions", title = "", href = "http://www.teleflora.com/flower-arrangements/flower-bouquet-arrangements.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """+ occasions"""
}
contents += new Div(clazz = "subheader")
contents += new Div(clazz = "sub") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/independence-day/flowers-baskets-98537_98538c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """4th of July"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/graduation-bouquets/flowers-plants-gift-baskets-79960_79961c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Graduation"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/anniversary-flowers-64065_64066c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Anniversary"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-all-64062_64063c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Birthday"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/congratulations-flowers-plants-6296_6297c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Congratulations!"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/corporate-gifts/flowers-plants-gift-baskets-6292_6293c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Corporate Gifts"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/sympathy-flowers.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Funeral & Sympathy"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/get-well-flowers-98390_98391c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Get Well Soon"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/housewarming-gifts/new-home-flowers-148326_148328c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Housewarming Gifts"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/love-romance/flowers-plants-gift-baskets-92119_92120c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Love & Romance"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/new-baby-flowers-97560_97561c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Newborn Baby"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/lavish-collection.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """The Lavish Boutique"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/teacher-gift/holiday-gifts-teachers-151779_151780c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Teacher Gifts"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/i-am-sorry-flowers-plants-72594_72597c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Say "I'm Sorry""""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/thinking-of-you-flowers-72634_72637c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Say "I'm Thinking of You""""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/thank-you-flowers-plants-gift-baskets-6326_6334c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Say "Thank You""""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/just-because-flowers-105200_105201c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Occasions', 'TopNav', 'TopNav'); return false")
contents += """Send "Just Because""""
}
}
}
}
}
contents += new Li() {
contents += new A(clazz = "first-level hp-topnav-flowers", title = "", href = "http://www.teleflora.com/") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """+ flowers"""
}
contents += new Div(clazz = "subheader")
contents += new Div(clazz = "sub") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/escape-at-home-bouquets.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """World of Flowers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/lavish-collection.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """The Lavish Collection"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/fresh-flowers/summer-bouquets/summer-flower-98539_98540c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """Summer Flowers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/bestselling-bouquets-plants-62450_62451c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """Bestsellers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/florists-choice-bouquet-316088p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """Deal of the Day"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flower-by-colors/flowers-by-color-arrangements.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """by Color"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/online-flowers/send-flowers-online.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """by Type of Flower"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flower-gifts/send-flower-gift.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """by Recipient"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/flowers-in-a-gift-13485_13486c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """2-in-1 Teleflora Exclusives"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/new-flowers-plants-baskets-72502_72503c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """What's New"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/zen-flower-arrangements-99001_99002c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """Zen Flowers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/international-flowers/international-flower-delivery.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """International Delivery"""
}
}
}
}
}
contents += new Li() {
contents += new A(clazz = "first-level hp-topnav-plantsandgifts", title = "", href = "http://www.teleflora.com/plants/plants-collection-509_807c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """+ plants & gifts"""
}
contents += new Div(clazz = "subheader")
contents += new Div(clazz = "sub") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/plants/plants-collection-509_807c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Bestselling Plants"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/plants/plants-collection/flowering-plants-509_108975c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Flowering Plants"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/gift-baskets/gift-basket-collection-10980_10981c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Gift Baskets"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/lavish-collection.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flowers', 'TopNav', 'TopNav'); return false")
contents += """The Lavish Collection"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/plants/plants-collection/green-plants-509_114406c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Green Plants"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/plants/orchid-and-tropical-plants-509_114391c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Orchids & Tropical Plants"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/funeral-flowers/sympathy-plants-and-gift-baskets-87_117380c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Sympathy Plants"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/flowers-in-a-gift-13485_13486c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Teleflora Exclusives"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/flowers/zen-flower-arrangements-99001_99002c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Plants and Gifts', 'TopNav', 'TopNav'); return false")
contents += """Zen Collection"""
}
}
contents += new Li() {
contents += new A(title = "Flower Ideas", href = "http://www.teleflora.com/flowersinspiration.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Flower Guides', 'TopNav', 'TopNav'); return false")
contents += """Gift Guides >"""
}
}
}
}
}
contents += new Li() {
contents += new A(clazz = "first-level hp-topnav-price", title = "", href = "http://www.teleflora.com/discount-flowers/discount-flowers-online.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """+ price"""
}
contents += new Div(clazz = "subheader")
contents += new Div(clazz = "sub") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/bouquets-under-40-83528_83529c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """Flowers Under $40"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/inexpensive-flowers/inexpensive-funeral-flowers-125432_125433c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """Flowers $40 - $60"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/bouquets-60-to-80-83528_83734c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """Flowers $60 - $80"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/designer-flowers/luxury-flowers-83528_150594c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """Flowers $80+"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/lavish-collection.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Price', 'TopNav', 'TopNav'); return false")
contents += """The Lavish Collection"""
}
}
}
}
}
}
}
}
contents += new Script() {
contents += JavaScript("""var ClickTaleTagBuffer = [];
function BufferedClickTaleTag(tag) {
if(typeof ClickTaleTag == "function") {
ClickTaleTag(tag);
} else {
ClickTaleTagBuffer.push(tag);
}
}
setTimeout(function() {
if(typeof ClickTaleTag == "function") {
for(var i = 0; i
< ClickTaleTagBuffer.length; i++) {
ClickTaleTag(ClickTaleTagBuffer[i]);
}
} else {
setTimeout(arguments.callee, 100);
}
}, 100);""")
}
contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""if(typeof BufferedClickTaleTag=="function")
BufferedClickTaleTag("V3_062512");""")
}
contents += new Div(id = "main_container") {
contents += new Div(id = "slide-container") {
contents += new Div(id = "slides") {
style.overflow := "hidden"
contents += new Div(id = "p1") {
style.display := Display.None
style.height := 556.px
style.left := (-1600).px
style.opacity := "1"
style.position := Position.Absolute
style.top := 0.px
style.width := 1600.px
style.z.index := "4"
contents += new Div(clazz = "clearfix") {
contents += new A(href = "http://www.teleflora.com/independence-day/flowers-baskets-98537_98538c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Hero', 'v5_Hero1'); return false;")
contents += new Img(height = "556", alt = "send fireworks.", src = "teleflora_files/20120620_p1_01.jpg", width = "813") {
custom("border", "0")
}
}
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/america-the-beautiful-by-teleflora-372682p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'Hero', 'Hero1'); return false;")
contents += new Img(height = "556", alt = "", src = "teleflora_files/20120620_p1_02.jpg", width = "787") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hero_price_container") {
contents += new Div(clazz = "hero_price_base hero_price1") {
contents += """$52.95"""
}
}
}
contents += new Div(id = "p2") {
style.display := Display.Block
style.height := 556.px
style.left := (-140.76).px
style.opacity := "1"
style.position := Position.Absolute
style.top := 0.px
style.width := 1600.px
style.z.index := "4"
contents += new Div(clazz = "clearfix") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/garden-parade-372737p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Hero', 'v5_Hero2'); return false;")
contents += new Img(height = "556", alt = "", src = "teleflora_files/20120620_p2_01.jpg") {
custom("border", "0")
custom("widht", "813")
}
}
contents += new A(href = "http://www.teleflora.com/independence-day/flowers-baskets-98537_98538c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'Hero', 'Hero2'); return false")
contents += new Img(height = "556", alt = "let freedom bloom.", src = "teleflora_files/20120620_p2_02.jpg", width = "787") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hero_price_container") {
contents += new Div(clazz = "hero_price_base hero_price2") {
contents += """$52.95"""
}
}
}
contents += new Div(id = "p3") {
style.display := Display.Block
style.height := 556.px
style.left := 1458.33.px
style.opacity := "1"
style.position := Position.Absolute
style.top := 0.px
style.width := 1600.px
style.z.index := "5"
contents += new Div(clazz = "clearfix") {
contents += new A(href = "http://www.teleflora.com/independence-day/flowers-baskets-98537_98538c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Hero', 'v5_Hero3'); return false")
contents += new Img(height = "556", alt = "send a home run.", src = "teleflora_files/20120620_p3_01.jpg", width = "813") {
custom("border", "0")
}
}
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-big-hit-bouquet-372950p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'Hero', 'Hero3'); return false;")
contents += new Img(height = "556", alt = "", src = "teleflora_files/20120620_p3_02.jpg", width = "787") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hero_price_container") {
contents += new Div(clazz = "hero_price_base hero_price3") {
contents += """$52.95"""
}
}
}
contents += new Div(id = "p4") {
style.display := Display.None
style.height := 556.px
style.left := (-1600).px
style.opacity := "1"
style.position := Position.Absolute
style.top := 0.px
style.width := 1600.px
style.z.index := "4"
contents += new Div(clazz = "clearfix") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/sweet-liberty-215514p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Hero', 'v5_Hero4'); return false;")
contents += new Img(height = "556", alt = "", src = "teleflora_files/20120620_p4_01.jpg", width = "813") {
custom("border", "0")
}
}
contents += new A(href = "http://www.teleflora.com/independence-day/flowers-baskets-98537_98538c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'Hero', 'Hero4'); return false;")
contents += new Img(height = "556", alt = "All-American bouquet.", src = "teleflora_files/20120620_p4_02.jpg", width = "787") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hero_price_container") {
contents += new Div(clazz = "hero_price_base hero_price4") {
contents += """$42.95"""
}
}
}
}
}
}
contents += new Div(id = "controller-container") {
contents += new Div(id = "next") {
style.opacity := "0.4"
contents += new A(href = "#")
}
contents += new Div(id = "prev") {
style.opacity := "0.4"
contents += new A(href = "#")
}
}
contents += new Div(clazz = "hero_end_bg")
contents += new Div(id = "v5_hp_bottom_wrapper") {
contents += new Div(id = "v5_bottom_inner") {
contents += new Div(id = "v5_main_container") {
contents += new Div(id = "level2", clazz = "level") {
contents += new Div(clazz = "level-inner") {
contents += new Div(clazz = "hp-box hp-box5") {
contents += new Div(clazz = "hp-box-imagearea") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-rose-classique--dozen-red-roses-372754p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Sub_1', 'v5_Sub_1_1'); return false")
contents += new Img(alt = "Teleflora's Rose Chlassique", src = "teleflora_files/T65-2A.jpg") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hp-box-textarea") {
contents += new Div(clazz = "hp-box-category-name") {
contents += new A(href = "http://www.teleflora.com/love-romance/flowers-plants-gift-baskets-92119_92120c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_catnav', 'v5_catnav1'); return false")
contents += """Love & Romance"""
}
}
contents += new Div(clazz = "hp-box-productname") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-rose-classique--dozen-red-roses-372754p.asp") {
contents += """Teleflora's"""
contents += new Br()
contents += """Rose Classique"""
}
}
contents += new Div(clazz = "hp-box-productprice") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-rose-classique--dozen-red-roses-372754p.asp") {
contents += new Span(clazz = "price_base price1") {
contents += """$69.95"""
}
}
}
contents += new Div(clazz = "hp-box-shopnow") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-rose-classique--dozen-red-roses-372754p.asp")
contents += new Div(clazz = "hp-box-shopnow-text") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-rose-classique--dozen-red-roses-372754p.asp") {
contents += """Buy Now"""
}
}
contents += new Div(clazz = "hp-box-shopnow-arrowright")
}
}
}
contents += new Div(clazz = "hp-box hp-box6") {
contents += new Div(clazz = "hp-box-imagearea") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/my-little-chickadee-by-teleflora-372842p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Sub_1', 'v5_Sub_1_2'); return false")
contents += new Img(alt = "My Little Chickadee by Teleflora", src = "teleflora_files/T33-1A.jpg") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hp-box-textarea") {
contents += new Div(clazz = "hp-box-category-name") {
contents += new A(href = "http://www.teleflora.com/flowers/thinking-of-you-flowers-72634_72637c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_catnav', 'v5_catnav2'); return false")
contents += """Thinking of You"""
}
}
contents += new Div(clazz = "hp-box-productname") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/my-little-chickadee-by-teleflora-372842p.asp") {
contents += """My Little Chickadee"""
contents += new Br()
contents += """by Teleflora"""
}
}
contents += new Div(clazz = "hp-box-productprice") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/my-little-chickadee-by-teleflora-372842p.asp") {
contents += new Span(clazz = "price_base price1") {
contents += """$34.95"""
}
}
}
contents += new Div(clazz = "hp-box-shopnow") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/my-little-chickadee-by-teleflora-372842p.asp")
contents += new Div(clazz = "hp-box-shopnow-text") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/my-little-chickadee-by-teleflora-372842p.asp") {
contents += """Buy Now"""
}
}
contents += new Div(clazz = "hp-box-shopnow-arrowright")
}
}
}
contents += new Div(clazz = "hp-box hp-box7") {
contents += new Div(clazz = "hp-box-imagearea") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/beautiful-in-blue-372939p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Sub_1', 'v5_Sub_1_3'); return false")
contents += new Img(alt = "Beautiful in Blue", src = "teleflora_files/T209-3A.jpg") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hp-box-textarea") {
contents += new Div(clazz = "hp-box-category-name") {
contents += new A(href = "http://www.teleflora.com/funeral-flowers/funeral-flower-arrangements.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_catnav', 'v5_catnav3'); return false")
contents += """Sympathy"""
}
}
contents += new Div(clazz = "hp-box-productname") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/beautiful-in-blue-372939p.asp") {
contents += """Beautiful in Blue"""
contents += new Br()
contents += """bouquet"""
}
}
contents += new Div(clazz = "hp-box-productprice") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/beautiful-in-blue-372939p.asp") {
contents += new Span(clazz = "price_base price1") {
contents += """$54.95"""
}
}
}
contents += new Div(clazz = "hp-box-shopnow") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/beautiful-in-blue-372939p.asp")
contents += new Div(clazz = "hp-box-shopnow-text") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/beautiful-in-blue-372939p.asp") {
contents += """Buy Now"""
}
}
contents += new Div(clazz = "hp-box-shopnow-arrowright")
}
}
}
contents += new Div(clazz = "hp-box hp-box8") {
contents += new Div(clazz = "hp-box-imagearea") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/Telefloras-Blue-Caribbean-473234p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Sub_1', 'v5_Sub_1_4'); return false")
contents += new Img(alt = "Wondrous Wishes by Teleflora with Roses", src = "teleflora_files/T05N440A.jpg") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hp-box-textarea") {
contents += new Div(clazz = "hp-box-category-name") {
contents += new A(href = "http://www.teleflora.com/floral-arrangements/bestselling-bouquets-plants-62450_62451c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_catnav', 'v5_catnav4'); return false")
contents += """Bestsellers"""
}
}
contents += new Div(clazz = "hp-box-productname") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/Telefloras-Blue-Caribbean-473234p.asp") {
contents += """Teleflora's"""
contents += new Br()
contents += """Blue Caribbean"""
}
}
contents += new Div(clazz = "hp-box-productprice") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/Telefloras-Blue-Caribbean-473234p.asp") {
contents += new Span(clazz = "price_base price1") {
contents += """$44.95"""
}
}
}
contents += new Div(clazz = "hp-box-shopnow") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/Telefloras-Blue-Caribbean-473234p.asp")
contents += new Div(clazz = "hp-box-shopnow-text") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/Telefloras-Blue-Caribbean-473234p.asp") {
contents += """Buy Now"""
}
}
contents += new Div(clazz = "hp-box-shopnow-arrowright")
}
}
}
contents += new Div(clazz = "hp-box hp-box9") {
contents += new Div(clazz = "hp-box-imagearea") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-brilliant-birthday-blooms-372956p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_Sub_1', 'v5_Sub_1_5'); return false")
contents += new Img(alt = "Teleflora's Brilliant Birthday Blooms", src = "teleflora_files/T28-1A.jpg") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "hp-box-textarea") {
contents += new Div(clazz = "hp-box-category-name") {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-all-64062_64063c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_catnav', 'v5_catnav5'); return false")
contents += """Birthday"""
}
}
contents += new Div(clazz = "hp-box-productname") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-brilliant-birthday-blooms-372956p.asp") {
contents += """Teleflora's"""
contents += new Br()
contents += """Brilliant Birthday Blooms"""
}
}
contents += new Div(clazz = "hp-box-productprice") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-brilliant-birthday-blooms-372956p.asp") {
contents += new Span(clazz = "price_base price1") {
contents += """$39.95"""
}
}
}
contents += new Div(clazz = "hp-box-shopnow") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-brilliant-birthday-blooms-372956p.asp")
contents += new Div(clazz = "hp-box-shopnow-text") {
contents += new A(href = "http://www.teleflora.com/flowers/bouquet/telefloras-brilliant-birthday-blooms-372956p.asp") {
contents += """Buy Now"""
}
}
contents += new Div(clazz = "hp-box-shopnow-arrowright")
}
}
}
}
}
}
contents += new Div(id = "v5_hp_bottom_wrapper") {
contents += new Div(id = "v5_bottom_inner") {
contents += new Div(id = "v5_bottombox_container", clazz = "clearfix") {
contents += new Div(id = "bottombox-2tile") {
contents += new A(title = "Bouquet Deal of the Day", href = "http://www.teleflora.com/flowers/bouquet/florists-choice-bouquet-316088p.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_BottomBanner', 'v5_Bottom1'); return false")
contents += new Img(height = "214", alt = "Bouquet Deal of the Day", src = "teleflora_files/hp-box15-image-20120507-v5.jpg", clazz = "bottom-2tile-lavish", width = "477") {
custom("border", "0")
}
}
contents += new A(title = "Summer Favorites", href = "http://www.teleflora.com/fresh-flowers/summer-bouquets/summer-flower-98539_98540c.asp") {
custom("onclick", "OmnitureTrack(this.href, 'Home', 'v5_BottomBanner', 'v5_Bottom2'); return false")
contents += new Img(height = "214", alt = "Summer Favorites", src = "teleflora_files/hp-box16-image-20120507-v5.jpg", clazz = "bottom-2tile-FH", width = "476") {
custom("border", "0")
}
}
}
}
contents += new Div(id = "footer_wrapper") {
contents += new Div(id = "footer_section1", clazz = "clearfix") {
contents += new Div(id = "winflower") {
contents += new A(href = "http://www.teleflora.com/win-free-flowers.asp") {
contents += new Img(height = "43", alt = "WIN FREE FLOWERS", src = "teleflora_files/20120305_winflower.gif", width = "274") {
custom("border", "0")
style.margin.bottom := "5px"
}
}
contents += new Form(method = "post", name = "email_signup") {
custom("onsubmit", "return Email_Validator(this); ")
contents += new Input(name = "check", inputType = InputType.Hidden, value = "")
contents += new Input(name = "nomatch", inputType = InputType.Hidden, value = "")
contents += new Input(name = "optinsource", inputType = InputType.Hidden, value = "TFFTR")
contents += new Input(name = "Email", size = "25", id = "Email", clazz = "winFlowerForm", inputType = InputType.Text, maxLength = "50", value = "enter email address") {
custom("onfocus", "this.value=''")
custom("align", "middle")
}
contents += new Input(name = "submit", height = "21", alt = "GO", src = "teleflora_files/20120305_submit_go.gif", inputType = InputType.Image, width = "20") {
custom("border", "0")
style.left := (-5).px
style.position := Position.Relative
custom("align", "middle")
}
}
}
contents += new Div(id = "same-day-delivery") {
contents += new A(href = "javascript:void(0);") {
custom("onclick", "window.open ('http://www.teleflora.com/popups/custom.asp?popupid=8305', 'mywindow','menubar=1,resizable=1,width=350,height=250');")
contents += new Img(height = "69", alt = "SAME-DAY-DELIVERY", src = "teleflora_files/20120305_same-day-delivery.gif", width = "353") {
custom("border", "0")
}
}
}
contents += new Div(id = "tfnews") {
contents += new A(href = "http://www.teleflora.com/media.asp") {
contents += new Img(height = "66", alt = "Teleflora News", src = "teleflora_files/20120305_teleflora_news.gif", width = "263") {
custom("border", "0")
}
}
}
}
contents += new Div(id = "footer_section2", clazz = "clearfix") {
contents += new Div(id = "joinus") {
contents += new Div(clazz = "footertitle") {
contents += """JOIN US"""
}
contents += new Div(clazz = "hp-tiles-media-facebooklike") {
contents += new IFrame(src = "teleflora_files/likebox.htm") {
custom("scrolling", "no")
style.border := "medium none"
style.height := 70.px
style.overflow := "hidden"
style.width := 200.px
custom("allowtransparency", "true")
custom("frameborder", "0")
}
}
contents += new Div(clazz = "media-facebook") {
contents += new A(target = "_blank", href = "http://www.facebook.com/teleflora") {
contents += new Img(height = "21", alt = "facebook", src = "teleflora_files/facebook.gif", width = "20") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "media-twitter") {
contents += new A(target = "_blank", href = "http://twitter.com/#%21/teleflora") {
contents += new Img(height = "21", alt = "twitter", src = "teleflora_files/twitter.gif", width = "20") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "media-youtube") {
contents += new A(target = "_blank", href = "http://www.youtube.com/teleflora") {
contents += new Img(height = "21", alt = "youtube", src = "teleflora_files/youtube.gif", width = "20") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "media-pinterest") {
contents += new A(target = "_blank", href = "http://pinterest.com/teleflora/") {
contents += new Img(height = "21", alt = "pinterest", src = "teleflora_files/pinterest.gif", width = "20") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "media-googleplus") {
contents += new Div(id = "___plusone_0") {
style.background := "none repeat scroll 0% 0% transparent"
style.border.style := "none"
style.display := Display.InlineBlock
style.float := Float.None
style.font.size := 1.px
style.height := 20.px
style.line.height := "normal"
style.margin := "0px"
style.padding := "0px"
style.text.indent := "0px"
style.vertical.align := Length("baseline")
style.width := 90.px
contents += new IFrame(name = "I1_1340934971944", id = "I1_1340934971944", src = "teleflora_files/fastbutton.htm", title = "+1", tabIndex = "0", width = "100%") {
custom("scrolling", "no")
custom("marginwidth", "0")
style.border.style := "none"
style.height := 20.px
style.left := 0.px
style.margin := "0px"
style.position := Position.Static
style.top := 0.px
style.visibility := "visible"
style.width := 90.px
custom("vspace", "0")
custom("hspace", "0")
custom("allowtransparency", "true")
custom("marginheight", "0")
custom("frameborder", "0")
}
}
}
}
contents += new Div(id = "tfcoach") {
contents += new Div(clazz = "footertitle") {
contents += """TELEFLORA'S LOVE NOTES"""
}
contents += new Div() {
contents += new Div(clazz = "thumb") {
contents += new A(href = "http://www.teleflora.com/mobile-app-free/birthday-mothers-day-messages.asp") {
contents += new Img(height = "43", alt = "Teleflora's Love Notes", src = "teleflora_files/flowercoach_031412.gif", width = "69") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "coach-text") {
contents += """A fun and FREE app for"""
contents += new Br()
contents += """iPhone and Android."""
contents += new Br()
contents += new A(href = "http://www.teleflora.com/mobile-app-free/birthday-mothers-day-messages.asp") {
style.text.transform := "none"
contents += """Get the app >"""
}
}
}
}
contents += new Div(id = "cs") {
contents += new Div(clazz = "footertitle") {
contents += """CUSTOMER SERVICE"""
}
contents += new Div(clazz = "cs-phone") {
contents += """800-835-3356"""
}
contents += new Div(clazz = "feedback") {
contents += """[+]"""
contents += new A(href = "http://www.teleflora.com/info.asp?id=6224") {
style.text.transform := "none"
contents += """Give feedback"""
contents += new Br()
contents += """about our site."""
}
}
}
contents += new Div(id = "flower-guide") {
contents += new Div(clazz = "footertitle") {
contents += """FLOWER GUIDE"""
}
contents += new Div() {
contents += new Div(clazz = "thumb") {
contents += new A(href = "http://www.teleflora.com/flower-ideas/floral-arrangement-ideas.asp?topnav=Flower%20Guides") {
contents += new Img(height = "57", alt = "FLOWER GUIDE", src = "teleflora_files/flower-guide.gif", width = "56") {
custom("border", "0")
}
}
}
contents += new Div(clazz = "flower-guide-text") {
contents += new A(href = "http://www.teleflora.com/flower-ideas/floral-arrangement-ideas.asp?topnav=Flower%20Guides") {
contents += """Find the right"""
contents += new Br()
contents += """flower for"""
contents += new Br()
contents += """every occasion."""
}
}
}
}
contents += new Div(id = "aboutus") {
contents += new Div(clazz = "footertitle") {
contents += """ABOUT US"""
}
contents += new Div(clazz = "aboutus-link") {
contents += new A(href = "http://www.teleflora.com/securityprivacy.asp") {
contents += """PRIVACY POLICY"""
}
}
contents += new Div(clazz = "aboutus-link") {
contents += new A(href = "http://www.teleflora.com/teleflora-sitemap.asp") {
contents += """SITE MAP"""
}
}
contents += new Div(clazz = "aboutus-link") {
contents += new A(href = "http://www.teleflora.com/media.asp") {
contents += """IN THE MEDIA"""
}
}
contents += new Div(clazz = "aboutus-link") {
contents += new A(href = "http://community.teleflora.com/") {
contents += """Community"""
}
}
}
}
contents += new Div(id = "footer_section3", clazz = "clearfix") {
contents += new Div(id = "footer_text_left") {
contents += new P() {
contents += """There's no better way to tell someone you care than with fresh
flowers! When you send flowers online, your gift will have that personal
touch no matter how far you are from your recipient."""
}
contents += new P() {
contents += """Why choose Teleflora? Because all our flowers are beautifully
presented in keepsake containers, that your loved one can reuse and
enjoy long after the flowers are gone. We offer dozens of options, from
serving pitchers, teacups, and mugs to our classic Thomas Kinkade
Christmas cottages. So no matter what your recipient's taste, you can
find the perfect bouquet and send flowers online."""
}
contents += new P() {
contents += """The convenience of florist flower delivery means that your flowers
are always be hand-delivered to a residence, business location, nursing
home, hospital or funeral home."""
}
contents += new P() {
contents += """Teleflora has a wide selection of flowers for every holiday. From
Valentine's Day to Easter, and Mother's Day to 4th of July, you'll find
something fabulously festive. We also offer the best selection of
Thanksgiving and Christmas centerpieces. A florist flower delivery is
sure to make any holiday extra special."""
}
contents += new P() {
contents += """Of course, you can send flowers online to say Thank You or
Congratulations! Or maybe you want to convey your sentiments with one of
our everyday collections, such as Thinking of You or Just Because. If a
friend is in the hospital, sending flowers can be a hassle. What
happens when your get well or new baby bouquet arrives at the hospital?
With a florist flower delivery, your loved one won't have to worry about
finding an appropriate container or cutting the stems."""
}
contents += new P() {
contents += new A(clazz = "flower-news-link", target = "_blank", href = "http://www.teleflora.com/FLOWER-NEWS/") {
contents += """FLOWER NEWS"""
}
contents += new Br()
contents += """Featuring floral related news, events, stories and tips from around the world. Read some of our recent articles:"""
}
contents += new Ul(clazz = "gy7tdn") {
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/flower-ideas-for-your-june-i-dos-800801864.aspx") {
contents += """Flower ideas for your June "I do's" - June 22, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/celebrate-the-cancer-sign-with-flowers-800801567.aspx") {
contents += """Celebrate the cancer sign with flowers - June 21, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/how-to-celebrate-the-summer-solstice-800801562.aspx") {
contents += """How to celebrate the summer solstice - June 21, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/top-3-ways-to-get-your-crush-to-notice-you-800800742.aspx") {
contents += """Top 3 ways to get your crush to notice you - June 20, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/send-a-surprise-rose-bouquet-800799826.aspx") {
contents += """Send a surprise rose bouquet - June 19, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/post/let-your-graduate-have-one-more-chance-to-be-a-kid-800798842.aspx") {
contents += """Let your graduate have one more chance to be a kid - June 18, 2012"""
}
}
contents += new Li() {
contents += new A(target = "_blank", href = "http://www.teleflora.com/flower-news/") {
contents += """Read more flower news articles"""
}
}
}
}
contents += new Div(id = "footer_text_right") {
contents += new P() {
contents += """And in times of sorrow, send your heartfelt condolences with flowers
or a plant from our sympathy collection. We work closely with the
funeral home to make your delivery seamless."""
}
contents += new P() {
contents += """Do you want to send flowers online, but are on a tight budget? Tip:
Choosing flowers in season gives you more bang for your buck. Fresh
seasonal flowers can be used to create large, impressive arrangements
while keeping costs low. If you're looking for a great value, you may
also want to consider sending a green or flowering plant. Plants last
for up to several months and can be enjoyed indoors or outdoors."""
}
contents += new P() {
contents += """So what's the Teleflora difference? We fill 100 percent of our orders
locally. Florist flower delivery makes it easier than ever because your
flowers arrive ready to be enjoyed immediately. No waiting for shipped
bouquets to arrive in the mail. You receive the absolute freshest
flowers available, each one hand-selected for its beauty and expertly
arranged. With the largest florist flower delivery network, we can
usually fill your order within 24 hours, and sometimes the very same
day."""
}
contents += new P() {
contents += """For 77 years, Teleflora has been connecting customers with the
nation's best local florists. We are the world's leading florist flower
delivery service. Headquartered in Los Angeles, California, Teleflora
has over 16,000 member florists throughout the U.S. and Canada, with an
additional 20,000 affiliated florists outside North America."""
}
contents += new P() {
contents += """Send flowers online with Teleflora and make someone smile!"""
}
contents += new P() {
contents += new A(clazz = "join-community-link", target = "_blank", href = "http://community.teleflora.com/") {
contents += """JOIN TELEFLORA'S COMMUNITY"""
}
contents += new Br()
contents += """A
one-stop place where you can get social with the Teleflora Community.
Here you can see what's new and happening at Teleflora and also keep
updated on our mobile apps, sweepstakes info, RSS feeds from Twitter and
our other blogs, plus much more."""
contents += new Br()
contents += new Br()
contents += new Br()
}
}
}
contents += new Div(id = "footer_section4", clazz = "clearfix") {
contents += new Div(clazz = "fmenu1") {
contents += new Div(clazz = "title") {
contents += """Learn More About"""
}
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://flowers.teleflora.com/reviews/?srccode=tf_reviews") {
contents += """Bouquet Reviews"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/customerservice.asp") {
contents += """Customer Service"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/media.asp") {
contents += """Media"""
}
}
contents += new Li() {
contents += new A(href = "http://community.teleflora.com/") {
contents += """Join Our Community"""
}
}
}
}
contents += new Div(clazz = "fmenu2") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/info-partner-programs.asp") {
contents += """Partner & Affiliate Programs"""
}
}
contents += new Li() {
contents += new A(href = "http://www.findaflorist.com/") {
contents += """Find a Florist"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/securityprivacy-061909.asp") {
contents += """Security & Privacy"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/ordering.asp") {
contents += """Order & Delivery Policy"""
}
}
}
}
contents += new Div(clazz = "fmenu3") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/international-flowers/international-flower-delivery.asp") {
contents += """International Flower Delivery"""
}
}
contents += new Li() {
contents += new A(href = "https://teleflora.tms.hrdepartment.com/cgi-bin/a/searchjobs_quick.cgi") {
contents += """Careers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/teleflora-sitemap.asp") {
contents += """Site Map"""
}
}
}
}
contents += new Div(clazz = "fmenu4") {
contents += new Div(clazz = "title") {
contents += """Shop Teleflora"""
}
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/same-day-flowers/flowers-same-day-delivery-125661_125678c.asp") {
contents += """Same Day Flower Delivery"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/cheap-flowers/cheap-flower-delivery-83528_128623c.asp") {
contents += """Cheap Flowers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/birthday/birthday-flowers-all-64062_64063c.asp") {
contents += """Birthday Flowers"""
}
}
}
}
contents += new Div(clazz = "fmenu5") {
contents += new Ul() {
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/funeral-flowers/funeral-flower-arrangements.asp") {
contents += """Funeral Flowers"""
}
}
contents += new Li() {
contents += new A(href = "http://www.teleflora.com/") {
contents += """Send Flowers Online"""
}
}
}
}
}
contents += new Div(id = "tfcopyright") {
contents += """2012 Teleflora, Inc. All rights reserved.
Teleflora LLC is a registered ISO and MSP of HSBC Bank, USA, National
Association, Buffalo NY."""
}
}
}
}
contents += new Script(src = "teleflora_files/common.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/subModal.js", mimeType = "text/javascript")
contents += new Script(src = "teleflora_files/public_smo_scripts.js", mimeType = "text/javascript")
contents += new Script() {
custom("language", "JavaScript")
contents += JavaScript("""// -------------
// Win Flower Form Validation
// -------------
function Email_Validator(theForm)
{
var validRegExp = /^[a-zA-Z]+([_\.-]?[a-zA-Z0-9]+)*@[a-zA-Z0-9]+([\.-]?[a-zA-Z0-9]+)*(\.[a-zA-Z]{2,4})+$/;
var checkStr;
var checkConfirmStr;
if (theForm.Email.value == "")
{
alert("Please enter a value for the \"Email\" field.");
theForm.Email.focus();
return (false);
} else {
checkStr = theForm.Email.value;
if(checkStr.search(validRegExp) != -1){
var dataString = 'Email='+ theForm.Email.value + '&check=' + theForm.check.value + '&optinsource=' + theForm.optinsource.value + '&nomatch=' + theForm.nomatch.value;
$.ajax({
type: "POST",
url: "Popups/winflowers.asp",
data: dataString,
success: function() {
showPopWin('email-sign-up.asp?banner=suppress', 450, 450, null);
}
});
return (false);
} else {
alert("Please enter a valid e-mail address!");
theForm.Email.focus();
return false;
}
}
}
// -------------
// Customer Service Popup Win
// -------------
var newwindow;
var newurl;
var test=window.document.location;
function poptastic(url)
{
newurl=url+test;
newwindow=window.open(newurl,'name','height=1,width=1');
if (window.focus) {newwindow.focus()}
}
// -------------
// jQuery
// -------------
$(document).ready(function(){
$("#slides").cycle({
fx: 'scrollHorz',
speed:1000,
timeout: 7000,
pause: 0,
prev: '#prev',
next: '#next'
});
//Pouse/Resume mouseover on Hero Image
$("#controller-container").hover(function() {
$("#prev").css("opacity","1");
$("#next").css("opacity","1");
$('#slides').cycle('pause');
},
function() {
$("#prev").css("opacity","0.4");
$("#next").css("opacity","0.4");
$('#slides').cycle('resume');
});
/*
$("#slides, #controller-container").hover(function() {
$("#prev").css("display","block");
$("#next").css("display","block");
$('#slides').cycle('pause');
},
function() {
$("#prev").css("display","none");
$("#next").css("display","none");
$('#slides').cycle('resume');
});
*/
/* bottom four tiles */
$('.bar2').mosaic({
animation:'slide',
speed:500
});
/* TOP NAV */
function megaHoverOver(){
var currenthover1 = $(this);
var newtext1 = currenthover1.find(".first-level").text();
newtext1 = newtext1.replace(/[\+]/g,"");
currenthover1.find(".first-level").html(newtext1);
currenthover1.find(".first-level").addClass("first-level-hover");
currenthover1.find(".subheader").slideDown(100);
currenthover1.find(".sub").slideDown(200);
//Calculate width of all ul's
(function($) {
jQuery.fn.calcSubWidth = function() {
rowWidth = 0;
//Calculate row
$(this).find("ul").each(function() {
rowWidth += $(this).width();
});
};
})(jQuery);
if ( $(this).find(".row").length > 0 ) { //If row exists...
var biggestRow = 0;
//Calculate each row
$(this).find(".row").each(function() {
$(this).calcSubWidth();
//Find biggest row
if(rowWidth > biggestRow) {
biggestRow = rowWidth;
}
});
//Set width
$(this).find(".sub").css({'width' :biggestRow});
$(this).find(".row:last").css({'margin':'0'});
} else { //If row does not exist...
$(this).calcSubWidth();
//Set Width
$(this).find(".sub").css({'width' : rowWidth});
}
}
function megaHoverOut(){
var currenthover2 = $(this);
currenthover2.find(".sub").slideUp('fast',function(){
currenthover2.find(".subheader").hide();
currenthover2.find(".first-level").removeClass("first-level-hover");
var oldtext = currenthover2.find(".first-level").text();
var newtext2 = "+ " + oldtext;
currenthover2.find(".first-level").html(newtext2);
}
);
$(".hp-topnav-dealoftheday").removeClass("first-level-hover");
}
var config = {
sensitivity: 2, // number = sensitivity threshold (must be 1 or higher)
interval: 200, // number = milliseconds for onMouseOver polling interval
over: megaHoverOver, // function = onMouseOver callback (REQUIRED)
timeout: 200, // number = milliseconds delay before onMouseOut
out: megaHoverOut // function = onMouseOut callback (REQUIRED)
};
$("ul#topnav li").hoverIntent(config);
});""")
}
contents += new Script(src = "teleflora_files/jquery.js")
contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""$(function(){
$('#fadein').click(function(){
$('#extra-modal-container').fadeIn()
});
});""")
}
contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""$(function(){
$('#fadeout').click(function(){
$('#extra-modal-container').fadeOut()
});
});""")
}
contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""function validate_form(){
var promotion = document.getElementById('promocode').value;
/* trims whitespace around the promo code */
promotion = $.trim(promotion);
/* converts it to lowercase */
promotion = promotion.toLowerCase();
var counter = 0;
/* all the promo code and its respective redirects */
var data = {
EXTRA : 'http://www.teleflora.com/?s=t&promotion=EXTRA'
};
counter = 0;
$.each(data, function(key, value) {
if(promotion == (key.toLowerCase())) {
counter = 1;
goPage(value);
}
});
if(counter == 0){
alert("We are sorry, but that is not a valid code. Please try again.");
}
}""")
}
contents += new Div(id = "extra-modal-container") {
style.height := 380.px
style.width := 527.px
contents += new Div() {
style.width := 527.px
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 35.px
contents += new Img(height = "35", alt = "", src = "teleflora_files/extra-pop-up_006.jpg", width = "490")
}
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 35.px
contents += new A(id = "fadeout", href = "#") {
contents += new Img(height = "35", alt = "", src = "teleflora_files/extra-pop-up.jpg", width = "37") {
custom("border", "0")
}
}
}
contents += new Div() {
style.clear := Clear.Both
}
}
contents += new Div() {
style.width := 527.px
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 77.px
contents += new Img(height = "77", alt = "", src = "teleflora_files/extra-pop-up_003.jpg", width = "527")
}
}
contents += new Div() {
style.clear := Clear.Both
}
contents += new Div() {
style.width := 527.px
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 52.px
contents += new Img(height = "52", alt = "", src = "teleflora_files/extra-pop-up_002.jpg", width = "18")
}
contents += new Div() {
style.background.color := Color.immutable("#dd0178")
style.display := Display.Block
style.float := Float.Left
style.height := 52.px
contents += new Div(clazz = "extra-input") {
contents += new Input(name = "promocode", id = "promocode", inputType = InputType.Text) {
custom("onfocus", "this.value=''")
}
}
}
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 52.px
contents += new Input(src = "teleflora_files/extra-pop-up_004.jpg", inputType = InputType.Image) {
custom("onclick", "validate_form()")
}
}
contents += new Div() {
style.display := Display.Block
style.float := Float.Left
style.height := 52.px
contents += new Img(height = "52", alt = "", src = "teleflora_files/extra-pop-up_005.jpg", width = "98")
}
}
contents += new Div() {
style.clear := Clear.Both
}
contents += new Div() {
style.display := Display.Block
style.height := 215.px
style.width := 527.px
contents += new Img(height = "215", alt = "", src = "teleflora_files/extra-pop-up_007.jpg", width = "527")
}
}
contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""$('#promocode').keypress(function(e){
if(e.which == 13){
validate_form();
}
});""")
}
contents += new Script() {
contents += JavaScript("""// Closed submodal window and then show a page in parents window.
function goPage(url){
window.parent.location.href = url;
window.top.hidePopWin();
}""")
}
}
}
}
}
}
}
}
body.contents += new Script() {
contents += JavaScript("""var s_account="telefloracom";
var s_code_URL="teleflora.com";""")
}
body.contents += new Script(src = "teleflora_files/s_code.js", mimeType = "text/javascript") {
custom("language", "JavaScript")
}
body.contents += new Script(mimeType = "text/javascript") {
custom("language", "JavaScript")
contents += JavaScript("""<!--
s.pageName="Home";
s.prop1="Home";
s.prop2="Home";
s.prop3="Home";
s.server="www.teleflora.com";
s.channel="Home";
s.pageType="";
s.prop4="";
s.prop5="";
s.prop6="";
s.prop7="TFcom Homepage Test Group|V5 July 4th - 2012-06-20 - iPad issue final";
s.prop9 = "";
s.prop10 = "";
s.prop11="Home";
s.prop16="/feature.asp";
s.prop25="teleflora";
/* E-commerce Variables Testing*/
s.state="";
s.zip="";
s.events="";
s.products="";
s.purchaseID="";
s.eVar1="default| Test 82";
s.eVar2="";
s.eVar18 = "";
s.eVar4="Home";
s.eVar5="";
s.eVar7="TFcom Homepage Test Group|V5 July 4th - 2012-06-20 - iPad issue final";
s.eVar9 = "Recipe U";
s.prop22 = "199.108";
s.eVar30 = "";
s.eVar40 = "teleflora";
s.eVar46 = "";
s.eVar47 = "00005557";
s.eVar41 = "";
s_account="telefloracom";
var s_code=s.t();if(s_code)document.write(s_code)
//-->""")
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var targetStr = "64062_64063c.asp"
var url = window.location.href;
if (url.indexOf(targetStr) > 0){
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('
<iframe src="https://fls.doubleclick.net/activityi;src=1819375;type=telef451;cat=telef699;ord=' + a + '?" width="1" height="1" frameborder="0">
</iframe>');
}""")
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var targetStr = "98390_98391c.asp"
var url = window.location.href;
if (url.indexOf(targetStr) > 0){
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('
<iframe src="https://fls.doubleclick.net/activityi;src=1819375;type=telef451;cat=telef439;ord=' + a + '?" width="1" height="1" frameborder="0">
</iframe>');
}""")
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var targetStr = "64065_64066c.asp"
var url = window.location.href;
if (url.indexOf(targetStr) > 0){
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('
<iframe src="https://fls.doubleclick.net/activityi;src=1819375;type=telef451;cat=telef728;ord=' + a + '?" width="1" height="1" frameborder="0">
</iframe>');
}""")
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var targetStr = "97560_97561c.asp"
var url = window.location.href;
if (url.indexOf(targetStr) > 0){
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('
<iframe src="https://fls.doubleclick.net/activityi;src=1819375;type=telef451;cat=telef590;ord=' + a + '?" width="1" height="1" frameborder="0">
</iframe>');
}""")
}
body.contents += new Img(height = "1", alt = "", src = "teleflora_files/a.gif", width = "1") {
style.border.style := "none"
}
body.contents += new Script() {
contents += JavaScript("""// currentipaddress - we are using this variable
var testtype = new Array();
testtype[0] = '13708'; //generic page
testtype[1] = '13702'; //product page with a single product - product page [0-9]p.asp
testtype[2] = '13704'; // product page with multiple products - product page [0-9]p.asp
testtype[3] = '13705'; //category page [0-9]c.asp
testtype[4] = '13706'; //basket page - we are looking for basket.asp
testtype[5] = '13707'; //home page - if ".asp" does not exist and there is no more "/" after .com/
testtype[6] = ''; //delivery page - this is not implemented yet
var testvalue = new Array();
testvalue[0] = '0.005'; //capture recordings for .5% of traffic
testvalue[1] = '0.10'; //capture recordings for 10% of traffic
var testid = testtype[0];
var testrecording = testvalue[0];
var url = window.location.href;
if (url.indexOf("basket.asp")!=-1){ //looking for basket.asp
testid = testtype[4];
}
else if ((url == 'http://www.teleflora.com') || (url == 'http://www.teleflora.com/')||(url.indexOf("http://www.teleflora.com/?")!=-1)||(url.indexOf("http://www.teleflora.com/&")!=-1)||(url.indexOf("http://www.teleflora.com?")!=-1)||(url.indexOf("http://www.teleflora.com&")!=-1)||(url.indexOf("http://www.teleflora.com/feature.asp")!=-1)){ //home page - if ".asp" does not exist and there is no more "/" after .com/
testid = testtype[5];
testrecording = testvalue[1];
} //rework
else if ((url.indexOf("0c.asp")!=-1)||(url.indexOf("1c.asp")!=-1)||(url.indexOf("2c.asp")!=-1)||(url.indexOf("3c.asp")!=-1)||(url.indexOf("4c.asp")!=-1)||(url.indexOf("5c.asp")!=-1)||(url.indexOf("6c.asp")!=-1)||(url.indexOf("7c.asp")!=-1)||(url.indexOf("8c.asp")!=-1)||(url.indexOf("9c.asp")!=-1)){ //category page [0-9]c.asp
testid = testtype[3];
}
else if ((url.indexOf("0p.asp")!=-1)||(url.indexOf("1p.asp")!=-1)||(url.indexOf("2p.asp")!=-1)||(url.indexOf("3p.asp")!=-1)||(url.indexOf("4p.asp")!=-1)||(url.indexOf("5p.asp")!=-1)||(url.indexOf("6p.asp")!=-1)||(url.indexOf("7p.asp")!=-1)||(url.indexOf("8p.asp")!=-1)||(url.indexOf("9p.asp")!=-1)){ //product page [0-9]p.asp
if (optrial.opProductImagesNum == 1){
testid = testtype[1];
}
else {
testid = testtype[2];
}
}
//alert(testid);""")
}
body.contents += new Div(id = "ClickTaleDiv") {
style.display := Display.None
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""document.write(unescape("%3Cscript src='"+((document.location.protocol=='https:') ? 'https://clicktale.pantherssl.com/' : 'http://s.clicktale.net/')+"WRc3.js' type='text/javascript'%3E%3C/script%3E"));""")
}
body.contents += new Script(src = "teleflora_files/WRc3.js", mimeType = "text/javascript")
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var ClickTaleSSL=1;
if(typeof ClickTale=='function') ClickTale(testid,testrecording,"www02");""")
}
body.contents += new Script(mimeType = "text/javascript") {
custom("language", "JavaScript")
contents += JavaScript("""function trim(str) {
return str.replace(/^\s+|\s+$/g,"");
}""")
}
body.contents += new Script(src = "teleflora_files/st", mimeType = "text/javascript")
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""// tracking pixel version 2.8.6
var url2 = window.location.href;
if (url2.indexOf("p.asp")>-1){
var shpn=name_tracking;
var shpc='';
var shpp=price_tracking;
var shpb='';
var shpi='';
var shps=sku_tracking;
//var shps='';
}
else {
var shpn='';
var shpc='';
var shpp='';
var shpb='';
var shpi='';
var shps='';
} if (url2.indexOf("asket.asp")>-1){
var basket_sku = '';
var basket_skutotal = '';
var field_sku = document.getElementById('prodDet_1');
if(!field_sku) { } else {
var oldHTML = field_sku.innerHTML;
var temp_sku = oldHTML.split('Item #');
basket_sku = temp_sku[1];
var temp_sku2 = basket_sku.split('
<br>');
basket_sku = temp_sku2[0];
var mystr = basket_sku;
basket_sku = trim(mystr); }
basket_skutotal = basket_sku;
for (var zebra=2; zebra
<12; zebra++){
var elementnamez = 'prodDet_'+zebra;
field_sku = document.getElementById(elementnamez);
if(!field_sku) { } else {
var oldHTML = field_sku.innerHTML;
var temp_sku = oldHTML.split('Item #');
basket_sku = temp_sku[1];
var temp_sku2 = basket_sku.split('
<br>');
basket_sku = temp_sku2[0];
var mystr = basket_sku;
basket_sku = trim(mystr);
basket_skutotal = basket_skutotal + ","+ basket_sku; }
}
var shcv='';
var shcq='';
var shcp=basket_skutotal;
} else {
var shcv='';
var shcq='';
var shcp='';
}
var additional='Insert additional data starting with &';
var aid='9326';var tdr='';if (top.document.referrer != ''){tdr = encodeURIComponent(top.document.referrer);}var plh='';if (parent.location.href != ''){plh = encodeURIComponent(parent.location.href);}shpi = encodeURIComponent(shpi);(function(){steelhouse={add:function(a,b,c,d){d=d||false;if(a.addEventListener){a.addEventListener(b,c,d)}else if(a.attachEvent){a.attachEvent("on"+b,c)}},load:function(){var a;if(typeof a=='undefined'){a=Math.random()*100000000000000000}var b=document.createElement('script');var c='px.steelhousemedia.com/st?aid='+aid+'&cb='+a+'&shcv='+shcv+'&shcq='+shcq+'&shcp='+shcp+'&shpn='+shpn+'&shpc='+shpc+'&shpp='+shpp+'&shpb='+shpb+'&shpi='+shpi+'&shps='+shps+'&tdr='+tdr+'&plh='+plh+additional;b.type='text/javascript';b.src=('https:'==document.location.protocol?'https://':'http://')+c;var d=document.getElementsByTagName('script');var e=Number(d.length)-1;var f=document.getElementsByTagName('script')[e];f.parentNode.insertBefore(b,f)}};steelhouse.load();})();""")
}
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));""")
}
body.contents += new Script(src = "teleflora_files/ga.js", mimeType = "text/javascript")
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""try {
var pageTracker = _gat._getTracker("UA-2932962-1");
pageTracker._trackPageview();
}
catch (err) { }""")
}
body.contents += new Script(src = "teleflora_files/menu_js.js", mimeType = "text/javascript") {
custom("language", "JavaScript")
}
body.contents += new Script(src = "teleflora_files/tf_homepagejs.htm", mimeType = "text/javascript") {
custom("language", "javascript")
}
body.contents += new Script(src = "teleflora_files/tf_com.js", mimeType = "text/javascript") {
custom("language", "JavaScript")
}
body.contents += new Script(src = "teleflora_files/optestend.js", mimeType = "text/javascript")
body.contents += new Script(src = "teleflora_files/searchbox_suggest_v1.js", mimeType = "text/javascript") {
custom("language", "javascript")
}
body.contents += new Script(src = "teleflora_files/st.htm", mimeType = "text/javascript")
body.contents += new Script(mimeType = "text/javascript") {
contents += JavaScript("""var showNewUserAlertBox;
showNewUserAlertBox = false;
function ShowReviewNewUserAlertBox(){
if(showNewUserAlertBox == true){
alert("Your account has been\n successfully created.\n Thank You.");
}
}""")
}
body.contents += new Div(clazz = "autocomplete") {
style.left := 1263.px
style.position := Position.Absolute
style.top := 35.px
style.visibility := "hidden"
style.width := 150.px
style.z.index := "99999"
}
body.contents += new Div(id = "popupMask")
body.contents += new Div(id = "popupContainer") {
contents += new Div(id = "popupInner") {
contents += new Div(id = "popupTitleBar") {
contents += new Div(id = "popupTitle")
contents += new Div(id = "popupControls") {
contents += new Img(height = "18", id = "popCloseBox", src = "teleflora_files/close_button.gif", width = "18") {
custom("onclick", "hidePopWin(false);")
}
}
}
contents += new IFrame(name = "popupFrame", height = "100%", id = "popupFrame", src = "teleflora_files/loading.htm", width = "100%") {
custom("scrolling", "auto")
style.background.color := Color.Transparent
style.height := 100.%
style.width := 100.%
custom("allowtransparency", "true")
custom("frameborder", "0")
}
}
}
body.contents += new Div(clazz = "autocomplete") {
style.left := 1263.px
style.position := Position.Absolute
style.top := 35.px
style.visibility := "hidden"
style.width := 150.px
style.z.index := "99999"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment