Help
RSS
API
Feed
Maltego
Contact
Domain > danielleeileenphotography.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2015-12-07
72.29.94.45
(
ClassC
)
2025-01-06
170.249.211.154
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Mon, 06 Jan 2025 10:32:29 GMTServer: Apache/2Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check0, pre-check0Pragma: no-cacheSet-Cookie: PHPSESSID9h576epb0u6s878rk5nqr1e6n3; path/Upgrade: h2,h2cConnection: UpgradeVary: Accept-Encoding,User-AgentTransfer-Encoding: chunkedContent-Type: text/html; charsetUTF-8 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>html>head>title>Danielle Eileen Photography/title>meta namekeywords contentDanielle Eileen Photography, Danielle Eileen Photographer, Danielle Eileen, Danielle, Eileen, Photography, Photographer, Orland Park Photography, Orland Park Photographer, Orland Park, Orland, Park, Photography, Photographer, Child Photography, Child Photographer, Baby Photography, Baby Photographer, Newborn Photography, Newborn Photographer, Wedding Photography, Wedding Photographer, Tinley Park, Palos Park, Frankfort, New Lenox, Mokena, Lemont, Palos, Palos Hills, Chicago, Illinois, Tinley, Engagement Photography, Engagement Photographer, Photos, Photo, Portraits, Portrait, Artwork, Art, Mini Sessions, Mini Session, Mommy and Me, Daddy and Me>meta namedescription contentOrland Park, IL - Children and Family Photographer, Wedding Photographer>link relshortcut icon hrefblu_front/ANJA/v1site_images/favicon.ico typeimage/vnd.microsoft.icon>link relicon hrefblu_front/ANJA/v1site_images/favicon.ico typeimage/vnd.microsoft.icon> link hrefhttp://fonts.googleapis.com/css?familyParisienne|Open+Sans|EB+Garamond|Cinzel|Quicksand|Ruthie|Qwigley|Josefin+Sans relstylesheet typetext/css>style typetext/css> html { overflow: auto; -webkit-text-size-adjust: none; } body{ font-family:Open Sans, sans-serif; font-size:13px; color:#666666; background-color:#ffffff; margin:0px; padding:0px; padding-bottom:0px; padding-right:0px; } .header_pattern{ background-repeat:repeat-x; background-size:50%; height:0px; width:100%; margin:0px; padding-bottom:10px; top:10px; padding-right:0px; border:0px solid; } table { margin:0px; padding:0px; } p, li, span { line-height:1.8em; margin:0px; padding:0px; } a { text-decoration:none; color:#666666; } .shell { position: relative !important; z-index: 9999999; } .home_title p span { line-height:1em; margin:0px; padding:0px; } .close_x { text-align:center; color:#000000; border: 0px solid #000000; padding:0px; padding-top:0px; padding-left:1px; padding-bottom:1px; width:22px; height:22px; cursor:pointer; font-family:Arial, Helvetica, sans-serif; font-size:22px; position:relative; } .close_btn_bg{ color:#000000; background-color:#c6c6c6; height:25px; } .logo { padding:0px; padding-right:0px; padding-bottom:0px; } .logo1{ color:#000000; font-family:Parisienne, cursive; font-size: Array; text-decoration:none; } .logo2{ color:#000000; font-family:Cinzel; font-size: 14px; text-decoration:none; } /* .loader { color:#; background-color:#9ba019; font-family:Helvetica, Arial, sans-serif; font-size: 13px; padding:5px; position:absolute; visibility:hidden; text-align:center } */ .footer_bg { height: 40px; padding:0px; width:100%; } .menu_btn_line { background-color:#9ba019; position:absolute; visibility:hidden; height:4px; } .title { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 23px; padding-top:0px; padding-bottom: 0px; padding-right: 0px; position:relative; text-align:center; } .title_date { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 19px; padding-top:0px; padding-bottom:0px; padding-right: 0px; position:relative; text-align:center; white-space:nowrap; } .signin_title { color:#000000; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 23px; padding-top:40px; padding-bottom:20px; padding-right: 0px; position:absolute; text-align:left; } .title_line { position:absolute; /*visibility:hidden;*/ border-top:1px solid #c6c6c6; height:1px; background:none; } .title_home { color:#000000; font-family:Cinzel, serif; font-size: 23px; padding-top:0px; padding-bottom:0px; padding-right: 10px; padding-left:10px; position:absolute; text-align:center; } .blog_gal_img_title { padding-left:0px; text-align:left; border:0px solid; color:#666666; font-size:13px; font-family:Open Sans, sans-serif; } .featured_title_bg { background-color:#ffffff; cursor:pointer; position:absolute; /* visibility:hidden; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity60); filter: alpha(opacity60); -moz-opacity:0.60; -khtml-opacity: 0.60; opacity: 0.60; */ } .featured_title { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 16px; cursor:pointer; padding-top:10px; padding-bottom:10px; text-align:center; width:100%; position:absolute; vertical-align:middle; } .featured_text_title { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 16px; cursor:pointer; } .featured_text_date { color:#9ba019; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 11; cursor:pointer; } .featured_text_title_content { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Open Sans, sans-serif; font-size: 13px; cursor:pointer; padding-top:10px; padding-bottom:10px; text-align:center; width:100%; position:absolute; vertical-align:middle; } .featured_text_content { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Open Sans, sans-serif; font-size: 13px; line-height: 1.8em; } .featured_home_title { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 12px; /*padding-top:10px; padding-bottom:10px; text-align:center;*/ position:absolute; /* -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity60); filter: alpha(opacity60); -moz-opacity:0.60; -khtml-opacity: 0.60; opacity: 0.60; */ } .title2 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .title2b { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .title3 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:2px; padding-bottom:3px; padding-left: 10px; padding-right:10px; position:absolute; text-align:left; visibility:hidden; } h1 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 23px; padding:0px; margin:0px; } .title_featured { background-color:#c6c6c6; font-family:Cinzel, serif; font-size: 23px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .btn, .btn_over { font-family:Cinzel, serif; font-size: 12px; padding-top:5px; padding-bottom:5px; padding-left: 0px; padding-right:0px; text-align:center; cursor:pointer; } .btn { color:#000000; border: 1px solid #9ba019; } .btn_over { color:#ffffff; border:1px solid #ffffff; } .btn_bullet { background-color:#000000; height:3px; width:3px; -moz-border-radius: 3px; border-radius: 3px; visibility:hidden; } .menu_btn_over { position:absolute; visibility:hidden; cursor:default; border-bottom:0px solid #000000; width:1px; background-color:#ffffff; } .menu_bg_line { position:absolute; border-top:1px solid #ffffff; height:1px; width:100%; } .menu_bg_line_double { position:absolute; border-top:1px solid #c6c6c6; height:1px; width:100%; } .menu_bg_line_double_bottom { position:absolute; border-top:2px solid #c6c6c6; height:1px; width:100%; } .menu_bg_ribbon_bg { position:absolute; width: 22; background-color:#c6c6c6 } .menu_bg_arrow_right { position:absolute; width: 0; height: 0; border-top: 22px solid transparent; border-bottom: 22px solid transparent; border-left: 40px solid #ffffff; } .menu_bg_arrow_left { position:absolute; width: 0; height: 0; border-top: 22px solid transparent; border-bottom: 22px solid transparent; border-right: 40px solid #ffffff; } .menu_div { position:absolute; border-top:0px solid #c6c6c6; border-bottom:0px solid #c6c6c6; display:inline-block; padding-top:0px; padding-bottom:0px; visibility:hidden; } .menu_div:before { content: ; display:block; position:absolute; left:0; top:4px; width:100%; background-color:#c6c6c6; height: 0px; } .menu_div:after { content: ; display:block; position:absolute; left:0; bottom:4px; width:100%; background-color:#c6c6c6; height: 0px; } .view_btn { font-family:Cinzel, serif; font-size: px; padding-top:0px; padding-bottom:20px; padding-left: 0px; padding-right:0px; cursor:pointer; } .video_view_btn { cursor:pointer; /*-moz-border-radius: 5px; border-radius: 5px;*/ position:absolute; } .video_view_text { font-family:Cinzel, serif; font-size: 30px; padding-top: 20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; cursor:pointer; color:#666666; -moz-border-radius: 5px; border-radius: 5px; position:absolute; text-align:center; visibility:hidden; } .featured_gal_desc { padding-left:20px; padding-right:20px; padding-top:20px; padding-bottom:10px; position:absolute; } .quote { padding-left: 0px; padding-right: 0px; padding-bottom:20px; padding-top:20px; position:absolute; overflow:hidden; font-family:; text-align:left; } .blu_content { position:relative; font-family:Open Sans, sans-serif; } .column_content { -moz-column-count:2; /* Firefox */ -webkit-column-count:2; /* Safari and Chrome */ column-count:2; -moz-column-gap:60px; /* Firefox */ -webkit-column-gap:60px; /* Safari and Chrome */ column-gap:60px; /* -webkit-column-rule-width: 1px; -moz-column-rule-width: 1px; column-rule-width: 1px; -webkit-column-rule-style: solid; -moz-column-rule-style: solid; column-rule-style: solid; -webkit-column-rule-color: #c6c6c6; -moz-column-rule-color: #c6c6c6; column-rule-color: #c6c6c6; */ vertical-align:text-top; margin:0px; padding:0px; } .copyright { font-family:Cinzel, serif; font-size: 12px; color:#000000; padding-left:0px; /*-webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation3);*/ } .phone_number { font-family:Open Sans, sans-serif; font-size: 18px; color:#000000; padding-left:0px; /*-webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation3);*/ } .full_border{ border:1px solid #666666; } .watermark{ color:#ffffff; font-family:Open Sans, sans-serif; font-size: 23px; position:absolute; cursor:default; } .sound_btn{ color:#000000; font-family:Open Sans, sans-serif; font-size: 13px; cursor:pointer; } .sound_label{ color:#000000; font-family:Cinzel, serif; font-size: 12px; padding-top:0px } .sound_play_btn { color:#000000; font-family:Cinzel, serif; font-size: 12px; cursor:pointer; } .slide_play_btn { border-color: #ffffff #ffffff #ffffff #000000; border-style: solid; border-width: 5px 5px 5px 5px; height: 0px; width: 0px; cursor:pointer; } /* MENU */ .menu_btn{ line-height:1.4em; color:#000000; border:0px solid; font-family:Cinzel, serif; /*font-family: Cinzel, serif;*/ font-size: 12px; text-decoration:none; /*font-family: Open Sans, sans-serif;*/ /*font-family: Josefin Slab, serif;*/ cursor:pointer; letter-spacing:0px; } .menu2_btn{ color:#; border:0px solid; font-family:Cinzel, serif; font-size: 13px; text-decoration:none; padding-left:px; padding-right:px; padding-bottom:px; padding-top:px; cursor:pointer; letter-spacing:1px; } .signin_btn{ background-color:#ffffff; color:#000000; border:0px solid; font-family:Open Sans, sans-serif; font-size: 12px; text-decoration:none; cursor:pointer; margin-left:60px; margin-right:60px; margin-top:20px; margin-bottom:20px; padding-left:15px; padding-right:15px; padding-top:5px; padding-bottom:5px; position:relative; } .menu_btn_li{ padding-bottom:px; padding-top:px; } .menu_btn_sub{ color:#ffffff; font-family:Cinzel, serif; font-size: 12px; text-decoration:none; padding-left:10px; padding-right:10px; padding-bottom:10px; padding-top:10px; text-align:center; cursor:pointer; border-top: 1px solid #ffffff; } .submenu_btn{ color:#000000; font-family:Cinzel, serif; font-size: 12px; text-decoration:none; padding-left:px; padding-right:px; padding-bottom:px; padding-top:px; cursor:pointer; } .social_btn{ border:1px solid; position:absolute; } .social_btn_a{ color:#666666; font-family:Open Sans, sans-serif; font-size: px; text-decoration:none; cursor: pointer; border:1px solid; margin:0px; padding:0px; } .bg_img { width: 100%; height:100%; visibility:visible; } /* GALLERIES */ .arrow, .sm_arrow{ border-top: 3px solid; border-right: 3px solid; background-color:#ffffff; margin-left:0px; margin-bottom:0px; margin-top:0px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); } .arrow { height: 20px; width: 20px; } .sm_arrow { border-top: 2px solid; border-right: 2px solid; height: 10px; width: 10px; } .home_arrow_btn_bg { -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity70); filter: alpha(opacity70); -moz-opacity:0.70; -khtml-opacity: 0.70; opacity: 0.70; } .home_button_arrow_prev { border-top: 1px solid #000000; border-left: 1px solid #000000; position:absolute; width:15px; height:15px; transform: skew(-10deg); -o-transform: skew(-10deg); -moz-transform: skew(-10deg); -webkit-transform: skew(-10deg); transform: rotate(-45deg); -o-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } .home_button_arrow_next { border-top: 1px solid #000000; border-right: 1px solid #000000; position:absolute; width:15px; height:15px; transform: skew(10deg); -o-transform: skew(10deg); -moz-transform: skew(10deg); -webkit-transform: skew(10deg); transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); } .arrow_btn{ border-top: 1px solid; border-right: 1px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 15px; width: 15px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#9ba019; } .arrow_btn_previous{ border-top: 1px solid; border-right: 1px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 15px; width: 15px; transform: rotate(-135deg); -o-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -webkit-transform: rotate(-135deg); cursor:pointer; outline:none; color:#9ba019; } .arrow_btn_down{ border-top: 2px solid; border-right: 2px solid; height: 15px; width: 15px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_up{ border-top: 2px solid; border-right: 2px solid; height: 15px; width: 15px; transform: rotate(-135deg); -o-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -webkit-transform: rotate(-135deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_prev{ border-top: 3px solid; border-right: 3px solid; margin-left:12px; margin-bottom:0px; margin-top:10px; height: 20px; width: 20px; transform: rotate(225deg); -o-transform: rotate(225deg); -moz-transform: rotate(225deg); -webkit-transform: rotate(225deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_next{ border-top: 3px solid; border-right: 3px solid; margin-left:6px; margin-bottom:0px; margin-top:10px; height: 20px; width: 20px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#000000; } .scroll_lbl{ position:absolute; border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; height:30px; color:#000000; font-family:Cinzel, serif; font-size: 12px; text-align:center; padding-top:10px; visibility:hidden; } .sm_arrow_btn{ border-top: 3px solid; border-right: 3px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 10px; width: 10px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); cursor:pointer; outline:none; color:#; } .img_arrow_btn{ text-align:center; font-family:Arial, Helvetica, sans-serif; color:#ffffff; /*background-color:#ffffff;*/ padding-right:5px; padding-left:5px; font-size:25px; font-weight:500; width:20px; /*position:absolute;*/ visibility:hidden; cursor:pointer; } .text_arrow_right_btn{ border-top: 3px solid; border-right: 3px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 20px; width: 20px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); cursor:pointer; } .text_arrow_left_btn{ border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid #ffffff; border-style: solid; margin-left:4px; margin-bottom:3px; margin-top:3px; height: 0px; width: 0px; cursor:pointer } .text_arrow_up_btn{ border-top: 6px solid transparent; border-bottom: 6px solid #ffffff; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-bottom:5px; margin-left:8px; height: 0px; width: 0px; cursor:pointer; position:absolute; visibility:hidden; } .text_arrow_down_btn{ border-top: 6px solid #ffffff; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-top:5px; margin-left:0px; height: 0px; width: 0px; cursor:pointer; position:absolute; visibility:hidden; } .thumb_arrow_up_btn{ border-top: 6px solid transparent; border-bottom: 6px solid #ffffff; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-bottom:5px; margin-left:4px; height: 0px; width: 0px; cursor:pointer } .thumb_arrow_down_btn{ border-top: 6px solid #ffffff; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-top:5px; margin-left:4px; height: 0px; width: 0px; cursor:pointer } .thumb_arrow_bg{ text-align:center; padding:7px; padding-bottom:2px; padding-top:2px; width:12px; position:absolute; visibility:visible; cursor:pointer; } .thumb_arrow_bg_shadow_up{ text-align:center; padding:3px; font-size:25px; font-weight:500; width:14px; height:11px; position:absolute; visibility:visible; /* -moz-box-shadow: 2px 1px 4px 1px #000000; -webkit-box-shadow: 2px 1px 4px 1px #000000; box-shadow: 2px 1px 4px 1px #000000; */ } .text_arrow_bg{ text-align:center; font-size:36px; font-weight:500; position:absolute; visibility:visible; cursor:pointer; outline:none; text-outline:none; width:20px; height:30px; } .thumb_arrow_bg{ text-align:center; padding:3px; padding-top: 3px; padding-bottom:3px; font-size:25px; font-weight:500; width:20px; position:absolute; visibility:visible; cursor:pointer; } .text_arrow_bg_shadow{ text-align:center; padding:5px; font-size:25px; font-weight:500; width:30px; height:16px; position:absolute; visibility:visible; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 2px 1px 3px 1px #000000; */ } .comment_name { font-weight:bold; font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .comment_text { font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .comment_date { font-family:Open Sans, sans-serif; font-size:13px; color:#9ba019; } .slideshow_btn{ color:#000000; text-align:center; font-size:12px; position:absolute; visibility:hidden; cursor:pointer; font-family:Cinzel, serif; } .gal_menu_divider{ position:fixed; visibility:hidden; width:5px; color:#666666; font-family:Arial, Helvetica, sans-serif; font-size:25px; padding-bottom:15px; } .img_text_btn{ position:absolute; cursor:pointer; padding:0px; margin:0px; border:0px solid #666666; } .img_text_btn_bg{ background-color:#ffffff; position:absolute; display:none; padding:0px; margin:0px; border:0px solid #666666; -moz-box-shadow: 1px 1px 4px 0px #666666; -webkit-box-shadow: 1px 1px 4px 0px #666666; box-shadow: 1px 1px 4px 0px #666666; } .img_text_btn_bg2{ background-color:#ffffff; position:absolute; display:none; padding-right:1px; margin:0px; width: 28px; height: 28px; -webkit-border-radius: 14px; -moz-border-radius: 14px; border-radius: 14px; } .img_text_close_btn{ color:#ffffff; font-size:20px; position:absolute; display:none; cursor:pointer; font-family:Arial, Helvetica, sans-serif; width:24px; height:24px; padding-top:1px; padding-bottom:0px; padding-left:1px; padding-right:0px; -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; border:0px solid #666666; text-align:center; vertical-align:middle; } .img_close_btn{ color:#000000; /*background-color:#ffffff;*/ font-size:30px; cursor:pointer; font-family:Times New Roman, Times, serif; padding-top:0px; padding-bottom:0px; padding-left:5px; padding-right:5px; border:0px solid #FFF; float:right; border:0px solid; } .window_close_btn{ color:#666666; background-color:#ffffff; font-size:13px; cursor:pointer; font-family:Open Sans, sans-serif; padding-top:2px; padding-bottom:2px; padding-left:5px; padding-right:5px; text-align:center; width:16px; } .horizontal-only { } /* CONTACT SECTION */ .email_label { color:#9ba019; font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; /*font-weight:900;*/ } .email { color:#666666; font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; } .email:hover { font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; } .contact_check { color:#9ba019; font-size:13px; text-decoration:none; padding-bottom:0px; text-align:left; font-family: Open Sans, sans-serif; vertical-align:middle; } .contact_field { color:#666666; border:none; outline-color:#ffffff; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:5px; padding-top:5px; font-family:Open Sans, sans-serif; outline:none; border:0px solid #666666; background:none; } .contact_field_big { color:#666666; border:none; outline-color:#ffffff; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; resize:none; outline:none; border:0px solid #666666; background:none; } .contact_field_popup { color:#666666; border:1px solid #d8d8d8; outline-color:#d8d8d8; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:5px; padding-top:5px; font-family:Open Sans, sans-serif; background:none; } .contact_field_label { color:#666666; border-style:none; font-size:13px; text-decoration:none; text-align:left; padding-left:0px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; } .signin_field_label { color:#000000; font-size:13px; text-decoration:none; text-align:left; padding-left:0px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; } .img_border { border:0px solid #ffffff; /* -moz-box-shadow: 1px 1px 3px 1px #cccccc; -webkit-box-shadow: 1px 1px 3px 1px #cccccc; box-shadow: 0px 0px 1px 1px #cccccc; */ } .collage_img_border { border:0px solid #ffffff; -moz-box-shadow: 1px 1px 3px 1px #cccccc; -webkit-box-shadow: 1px 1px 3px 1px #cccccc; box-shadow: 1px 1px 3px 1px #cccccc; } .hline_dbl{ height:px; visibility:hidden; position:absolute; border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; } .hline{ height:1px; visibility:hidden; position:absolute; border-bottom:1px solid #ffffff; } .hline_dotted{ visibility:hidden; position:absolute; size:1px; letter-spacing:0px; color: #ffffff; overflow:hidden; text-height:1px; border-bottom:0px dotted #ffffff; padding:0px; margin:0px; width:1px; } .hline_dashes{ size:1px; letter-spacing:1px; color: #ffffff; overflow:hidden; text-height:1px; padding:0px; margin:0px; width:100%; height:20px; } .hbar_top_shadow { height:px; visibility:hidden; position:absolute; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 0px 3px 3px 1px #000000; */ } .hbar_bottom_shadow { height:px; visibility:hidden; position:absolute; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 0px -3px 3px 1px #000000; */ } .section_border { position:absolute; visibility:hidden; font-size:12px; overflow:hidden; border-bottom:1px dashed #ffffff; } .download_button { font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .collage_title { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#ffffff; color:#000000; position:absolute; border:1px solid #000000; } .collage_title_over { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#ffffff; color:#9ba019; position:absolute; border:1px solid #000000; } .collage_title_click { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#000000; color:#ffffff; position:absolute; border:1px solid #000000; } .collage_title1 { font-family:Cinzel; font-size:18px; padding-right:20px; } .collage_title2 { font-family:Cinzel, serif; font-size:12px; } .scroll_msg { position:fixed; top:0px; visibility:hidden; background-color:#ffffff; padding:10px; padding-bottom:15px -moz-border-radius: 5px; border-radius: 5px; border:1px solid #666666; } .social_msg { position:absolute; top:0px; visibility:hidden; display:none; color:#000000; background-color:#ffffff; padding:3px; border:0px solid #; font-size:13px; } .error_msg { font-size: 13px; color:#9ba019; font-family:Open Sans, sans-serif; text-align:left; } .submit { border:0px; color:#666666; background-color:transparent; font-family:Cinzel, serif; font-size: 12px; padding-top:2px; padding-bottom:20px; padding-left: 0px; padding-right:0px; text-align:right; cursor:pointer; } .login_submit { border:0px solid #000000; color:#666666; background:none; font-family:Cinzel, serif; font-size: 12px; padding-top:20px; padding-bottom:0px; padding-left: 0px; padding-right:0px; text-align:left; cursor:pointer; } .submit2 { border:0px; color:#666666; font-family:Open Sans, sans-serif; font-size: 13px; padding:0px; text-align:left; cursor:pointer; } .fb_close_btn{ width:100%; height:20px; padding-bottom:1px; padding-top:1px; text-align:right; font-family:Arial, Helvetica, sans-serif; font-size:16px; color: #000000; background-color: #ffffff; cursor:pointer; position:relative; } .thumb_only { cursor:pointer; position:relative; visibility:hidden; margin:0px; padding:0px; display:block; border:0px solid #ffffff; } .purchased_thumb_img { margin:0px; padding:0px; display:block; border:1px solid #ffffff; } .thumb_header{ position:absolute; top:0px; text-align:center; width:100%; visibility:hidden; } .thumb_header_lbl{ position:absolute; top:0px; text-align:center; color:#ffffff ; width:100%; font-family:Open Sans, sans-serif; font-size: 13px; padding-top:0px; border:0px solid #CC6600; } .thumb_header_bg{ position:absolute; top:0px; text-align:center; background-color:#ffffff; height:30px; width:100%; border:0px solid #CC6600; /*border-top:1px solid #ffffff; border-left:1px solid #ffffff; border-right:1px solid #ffffff;*/ } .thumb_footer{ position:absolute; bottom:0px; text-align:center; width:100%; visibility:hidden; } .thumb_footer_lbl{ position:absolute; bottom:0px; text-align:center; color:#666666 ; width:100%; font-family:Open Sans, sans-serif; font-size: 13px; padding-bottom:0px; height:30px; } .thumb_footer_lbl_num{ font-family:Cinzel, serif; font-size: 12px; padding-left:20px; padding:0px; margin:0px; position:absolute; border:0px solid; color:#666666; } .img_preview_num{ font-family:Cinzel, serif; font-size: 25px; margin-bottom:20px; } .img_preview_title{ font-family:Open Sans, sans-serif; font-size: 16px; margin-bottom:20px; } .thumb_footer_bg{ position:absolute; bottom:0px; text-align:center; background-color:#ffffff; height:30px; width:100%; /*border-bottom:1px solid #ffffff; border-left:1px solid #ffffff; border-right:1px solid #ffffff;*/ } .thumb_only1 { border-top:0px solid #ffffff; border-bottom:0px solid #ffffff; border-left:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_only2 { border-top:0px solid #ffffff; border-bottom:0px solid #ffffff; border-right:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_style { border:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_div_style { display:none; padding-bottom: 20px; } .thumb_only_div_style { position:absolute; padding:0px; margin:0px; border:0px solid; cursor:pointer; /*background-color:#9ba019; display:none; visibility:hidden;*/ } .featured_thumb_div_style { position:absolute; padding:0px; margin:0px; border:0px solid; cursor:pointer; background-color:transparent;/*#d8d8d8;*/ visibility:hidden; } .image_border { border:0px solid #d8d8d8; } /* END CONTACT SECTION */ /* BEGIN CALENDAR SECTION */ .calendar_legend { display:none; position:absolute; white-space:nowrap; } .calendar_title { font-family:Open Sans, sans-serif; font-size:18px; color:#666666; } .calendar_month { font-family:Open Sans, sans-serif; font-size:16px; color:#666666; text-align:center; } .cal_date { color:#ffffff; text-decoration:none; font-size: 12px; background-color:#ffffff; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; cursor:pointer; font-family:Open Sans, sans-serif; width: 100%; height:100%; text-align:left; vertical-align:top; border:1px solid #ffffff; } .cal_date_active { color:#ffffff; text-decoration:none; font-size: 12px; background-color:#9ba019; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; margin-left:0px; margin-right:0px; cursor:pointer; font-family:Open Sans, sans-serif; width: 100%; height:100%; text-align:left; vertical-align:top; border:1px solid #ffffff; } .cal_day { color:#000000; text-decoration:none; font-size: 12px; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; text-align:left; font-family:Cinzel, serif; } .cal_date_event { position:absolute; background-color:#ffffff; color:#666666; padding-left:10px; padding-top:0px; padding-right:0px; padding-bottom:10px; width:200px; cursor:pointer; font-family:Open Sans, sans-serif; font-size: 12px; display:none; } .close_event_x { text-align:center; color:#ffffff; background-color:#9ba019; padding:1px; font-size:16px; width:16px; float:right; margin-left:5px; cursor:pointer; font-family:Arial, Helvetica, sans-serif; } .pinterest_div { display:none; float:left; } /* END CALENDAR SECTION */ /* MOBILE */ .mobile_footer { background-color:#ffffff; position:absolute; height:px; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity85); filter: alpha(opacity85); -moz-opacity:0.85; -khtml-opacity: 0.85; opacity: 0.85; } .mobile_btn_container{ position:absolute; } .mobile_main_menu_btn { border-bottom: 11px double #fff; border-top: 4px solid #fff; height: 3px; width:30px; } .mobile_menu_btn { font-family:Cinzel, serif; font-size:px; color:#; } .mobile_menu_header_btn { font-family:Cinzel, serif; font-size:12px; color:#; } .menu_container { position:fixed; } .menu_background { background-color:#ffffff; position:absolute; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity85); filter: alpha(opacity85); -moz-opacity:0.85; -khtml-opacity: 0.85; opacity: 0.85; } .menu_slider{ position:absolute; } /* TEXT EDITOR STYLES */ .size_10px { font-size:10px; padding:0px; margin:0px; } .size_12px { font-size:12px; padding:0px; margin:0px; } .size_14px { font-size:14px; padding:0px; margin:0px; } .size_18px { font-size:18px; padding:0px; margin:0px; } .size_22px { font-size:22px; padding:0px; margin:0px; } .size_28px { font-size:28px; padding:0px; margin:0px; } .size_36px { font-size:36px; padding:0px; margin:0px; } .size_66px { font-size:66px; padding:0px; margin:0px; } .size_96px { font-size:96px; padding:0px; margin:0px; } /* TEXT SCROLLER STYLES */ .scrollgeneric { line-height: 1px; font-size: 1px; position: absolute; top: 0; left: 0; } .vscrollerbase { width: 10px; background-color: #ffffff; } .vscrollerbar { width: 8px; background-color: #000000; border: 1px solid #ffffff; } .hscrollerbase { height: 10px; background-color: #9ba019; } .hscrollerbar { height: 10px; background-color: #000000; } .scrollerjogbox { width: 10px; height: 10px; top: auto; left: auto; bottom: 0px; right: 0px; background-color: #ffffff; } #scrollbar1 {margin: 0px 0 10px; border:0px solid; } #scrollbar1 .viewport { overflow: hidden; position: relative; } #scrollbar1 .overview { list-style: none; position: absolute; left: 0px; top: 0px; padding: 0px; margin: 0px; } #scrollbar1 .scrollbar{background:#a7a7a7; position: relative; width: 15px; display:none;} #scrollbar1 .track { background: background:#000000; height: 3px; width:100%; position: relative; } #scrollbar1 .thumb { height: 3px; cursor: pointer; overflow: hidden; position: absolute; top:0px; background:#9ba019; /* -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; */ } #scrollbar1 .thumb .end { overflow: hidden; height: 5px; width: 25px; } #scrollbar1 .disable { display: none; } .gal_imgh_frame { padding:20px; } .gal_imgv_frame { padding:20px; } .home_links_pane { padding:20px; position:absolute; } .clearer { clear: both; display:block; } .home_panel_text { padding:0px; font-family:Open Sans, sans-serif; visibility:hidden; } .thumbs_div { position:absolute; display:none; padding-left:0px; padding-right:0px; padding-top:0px; padding-bottom:0px; } .thumbs_only_div { position:absolute; padding-left:0px; padding-right:0px; padding-top:0px; padding-bottom:0px; } .thumbs_page_div { padding: 0px; border:0px solid } .line_border { position:absolute; visibility:hidden; border:px solid #ffffff; cursor:pointer; }/* LOADER STYLES */#loader_div{position:absolute;width:41px;height:5px}.squaresWaveG{ color:#000000; position:absolute; top:0; background-color:transparent; width:5px; height:5px; -moz-animation-name:bounce_squaresWaveG; -moz-animation-duration:1.3s; -moz-animation-iteration-count:infinite; -moz-animation-direction:linear; -webkit-animation-name:bounce_squaresWaveG; -webkit-animation-duration:1.3s; -webkit-animation-iteration-count:infinite; -webkit-animation-direction:linear; -ms-animation-name:bounce_squaresWaveG; -ms-animation-duration:1.3s; -ms-animation-iteration-count:infinite; -ms-animation-direction:linear; -o-animation-name:bounce_squaresWaveG; -o-animation-duration:1.3s; -o-animation-iteration-count:infinite; -o-animation-direction:linear; animation-name:bounce_squaresWaveG; animation-duration:1.3s; animation-iteration-count:infinite; animation-direction:linear;}#squaresWaveG_1{left:0;-moz-animation-delay:0.0s;-webkit-animation-delay:0.0s;-ms-animation-delay:0.0s;-o-animation-delay:0.0s;animation-delay:0.0s;}#squaresWaveG_2{left:6px;-moz-animation-delay:0.16s;-webkit-animation-delay:0.16s;-ms-animation-delay:0.16s;-o-animation-delay:0.16s;animation-delay:0.16s;}#squaresWaveG_3{left:12px;-moz-animation-delay:0.32s;-webkit-animation-delay:0.32s;-ms-animation-delay:0.32s;-o-animation-delay:0.32s;animation-delay:0.32s;}#squaresWaveG_4{left:18px;-moz-animation-delay:0.48s;-webkit-animation-delay:0.48s;-ms-animation-delay:0.48s;-o-animation-delay:0.48s;animation-delay:0.48s;}#squaresWaveG_5{left:24px;-moz-animation-delay:1.04s;-webkit-animation-delay:1.04s;-ms-animation-delay:1.04s;-o-animation-delay:1.04s;animation-delay:1.04s;}#squaresWaveG_6{left:30px;-moz-animation-delay:1.17s;-webkit-animation-delay:1.17s;-ms-animation-delay:1.17s;-o-animation-delay:1.17s;animation-delay:1.17s;}#squaresWaveG_7{left:36px;-moz-animation-delay:1.3s;-webkit-animation-delay:1.3s;-ms-animation-delay:1.3s;-o-animation-delay:1.3s;animation-delay:1.3s;}#squaresWaveG_8{left:42px;-moz-animation-delay:1.43s;-webkit-animation-delay:1.43s;-ms-animation-delay:1.43s;-o-animation-delay:1.43s;animation-delay:1.43s;}@-moz-keyframes bounce_squaresWaveG{0%{background-color: transparent;}100%{background-color:#c6c6c6;}}@-webkit-keyframes bounce_squaresWaveG{0%{background-color: transparent;}100%{background-color:#c6c6c6;}}@-ms-keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#c6c6c6;}}@-o-keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#ffffff;}}@keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#ffffff;}}/* For modern browsers */.blu_container:before,.blu_container:after { content:; display:table;}.blu_container:after { clear:both;}/* For IE 6/7 (trigger hasLayout) */.blu_container { zoom:1;}.thumb_price_lbl{ font-family:Open Sans, sans-serif; font-size:13px; color: #666666; /*font-weight:bold; */}.thumb_msg { font-family:Open Sans, sans-serif; font-size:13px; text-transform:lowercase; padding-bottom:10px; padding-top:0px; line-height:1em; }.thumb_cart_btn { font-family:Cinzel, serif; background-color:#ffffff; margin: 0 auto; color:#666666; border:1px solid #d8d8d8; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40%; text-align:center;}.thumb_cart_btn:hover { background-color:#9ba019; margin: 0 auto; color:#ffffff; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40%; text-align:center;}.profile_submit_btn { background-color:#ffffff; margin-right:5px; color:#fcfcfc; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40px; float:right;}.profile_name_btn { position:relative; border:0px solid; text-align:center; padding-bottom:10px; padding-left:30px; padding-right:30px; font-size:23px; color:#fcfcfc; font-family:Cinzel, serif;}.cart_edit_btn { font-family:Open Sans, sans-serif; /*font-size:12px;*/ color:#9ba019; cursor:pointer; font-weight:bold; margin-left:10px}.cart_checkout_num{ padding-right:20px; font-family:Cinzel, serif; font-size:30px; color:#000000;}.cart_checkout_title { font-family:Open Sans, sans-serif; color:#000000;}.cart_checkout_price { font-family:Open Sans, sans-serif; font-size:15px; padding-bottom:5px; color:#000000; line-height:1em;}.cart_checkout_size { font-family:Open Sans, sans-serif; font-size:13px; color:#000000;}.cart_checkout_totals { margin-left:5px; width:100%; font-family:Open Sans, sans-serif; font-size:12px; font-weight:bold; color:#666666 ; margin-top:10px;}.profile_purchase_lbl { font-family:Open Sans, sans-serif; font-weight:bold; padding-right:5px;}.profile_purchase_detail { font-family:Open Sans, sans-serif;}.gal_title { color:#fcfcfc; font-family:Cinzel, serif; font-size:23px; /*height:50px; */ width:100%; text-align:center; padding-top:0px; border:0px solid; }.profile_settings_btn { /*background-color:#fcfcfc; */ font-family:Cinzel, serif; font-size:23px; color:#9ba019; padding-left: 0px; padding-right: 0px; padding-top: 5px; padding-bottom: 5px; margin-right:0px; cursor:pointer; width:100%; text-align:center;}.offline_btn{ color:#666666; background-color:#ffffff; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; /* future proofing */ -khtml-border-radius: 10px; /* for old Konqueror browsers */ cursor:pointer; width:110px; padding-bottom:2px; padding-top:2px; margin:0 auto;}.offline_btn:hover{ color:#ffffff; background-color:#9ba019;}/* LOADER 2 STYLES */.loader { width: 150px; height: 150px; line-height: 90px; margin: 0 auto; position: relative; box-sizing: border-box; text-align: center; z-index: 0; text-transform: uppercase; font-family:Cinzel, serif; color:#ffffff; font-size:12px;}.loader:before,.loader:after { opacity: 0; box-sizing: border-box; content: \0020; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 100px; border: 3px solid #ffffff; box-shadow: 0 0 10px #ffffff, inset 0 0 10px #ffffff;}.loader:after { z-index: 1; -webkit-animation: gogoloader 2s infinite 1s;}.loader:before { z-index: 2; -webkit-animation: gogoloader 2s infinite;}@-webkit-keyframes gogoloader { 0% { -webkit-transform: scale(0); opacity: 0; } 50% { opacity: 1; } 100% { -webkit-transform: scale(1); opacity: 0; } .lh_1-0 {line-height:1.0em;}.lh_1-5 {line-height:1.5em;}.lh_2-0 {line-height:2.0em;}.lh_2-5 { line-height:2.5em;}.lh_3-0 {line-height:3.0em;}.lh_3-5 { line-height:3.5em;}}/style>!--meta propertyog:image contenthttp://bludomaintemplates.com/dbd_test/v1site_images/logos/final_logo3.png />-->!-- INCLUDE JQUERY SCRIPTS -->script srcblu_front/ANJA/blu_js/jquery-1.7.1.min.js>/script>script srcblu_front/ANJA/blu_js/ui/jquery.effects.core.js>/script>script srcblu_front/ANJA/blu_js/spin.min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/jquery.address-1.5.min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/jquery.easing.1.3.js>/script>!-- ajax form js-->script typetext/javascript srcblu_front/ANJA/blu_js/jquery.form.js>/script>script srchttps://www.paypalobjects.com/js/external/dg.js typetext/javascript>/script>script typetext/javascript srcblu_front/ANJA/blu_js/raphael-min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/raphael.handdrawn.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/swfobject/swfobject.js>/script>script srcblu_front/ANJA/blu_js/jquery.isotope.min.js>/script> !-- FONT LOADER -->script typetext/javascript>var vars {};vars.fonts_loaded true;/*WebFontConfig { custom: { families: Open Sans, sans-serif, Cinzel, serif, Cinzel, serif, , Cinzel, serif, Cinzel, urls: blu_front/ANJA/blu_css/css.php }, active: function() { vars.fonts_loaded true; set_size(); }, timeout:2000}; */ /script>!-- INCLUDE SOUND MANAGER 2 -->!-- CHECKBOX/RADIO STYLING -->link relstylesheet hrefbluadmin/css/ezmark.css mediaall>script typetext/javascript languageJavascript srcbluadmin/js/jquery.ezmark.min.js>/script>!-- INCLUDE MOBILE META -->!--meta nameviewport contentwidth800, maximum-scale1.0 />-->!--meta name viewport content initial-scale 1.0, maximum-scale 1.0, user-scalable yes, width device-width>--> meta name format-detection content telephoneno>meta http-equivContent-Type contenttext/html; charsetutf-8>!-- INCLUDE PRINT PREVENTING CODE -->link relalternate mediaprint hrefprintversion.txt>meta http-equivimagetoolbar contentno>!-- JQUERY CODE & FUNCTIONS -->script typetext/javascript languagejavascript> //PREVENT RIGHT-CLICK $(function() { $(this).bind(contextmenu, function(e) { e.preventDefault(); }); }); //LOADING QUEUE var lq_curr_index 0; var lg_index 0; var lq new Array(); //add site logo //add content frame /*lqlg_index new Object(); lqlg_index.path ; lqlg_index.div_id menu_btn_over; lqlg_index.loaded false; lqlg_index.display_onload false; lg_index++;*/ //GET MENU ARRAY var menu_array new Array(); menu_array1 new Object(); menu_array1.name HOME; menu_array1.rel HOME; menu_array1.url blu_front/ANJA/blu_source/home.php?active_btn1&sec_id278; menu_array1.meta_title Danielle Eileen Photography; menu_array1.type home; if (menu_array1.type proof){ vars.proof_btn_no 1; } menu_array1.subtype panel; menu_array1.color ffffff; menu_array1.url_link ; menu_array1.link_target _blank; menu_array1.open_first 0; menu_array1.menu_group 1; menu_array1.widget_width 0; menu_array1.widget_height 0; menu_array1.visible true; menu_array2 new Object(); menu_array2.name BIO; menu_array2.rel BIO; menu_array2.url blu_front/ANJA/blu_source/text_section.php?active_btn2&text_sub_typesingle&sec_id374&text_id205; menu_array2.meta_title Danielle Eileen Photography; menu_array2.type text; if (menu_array2.type proof){ vars.proof_btn_no 2; } menu_array2.subtype single; menu_array2.color db8534; menu_array2.url_link ; menu_array2.link_target _blank; menu_array2.open_first 0; menu_array2.menu_group 1; menu_array2.widget_width 0; menu_array2.widget_height 0; menu_array2.visible true; menu_array3 new Object(); menu_array3.name GALLERIES; menu_array3.rel GALLERIES; menu_array3.url blu_front/ANJA/blu_source/featured_sec.php?sec_id375; menu_array3.meta_title Danielle Eileen Photography; menu_array3.type galleries; if (menu_array3.type proof){ vars.proof_btn_no 3; } menu_array3.subtype featured; menu_array3.color db8534; menu_array3.url_link ; menu_array3.link_target _blank; menu_array3.open_first 0; menu_array3.menu_group 1; menu_array3.widget_width 0; menu_array3.widget_height 0; menu_array3.visible true; menu_array4 new Object(); menu_array4.name THE DETAILS; menu_array4.rel THE_DETAILS; menu_array4.url blu_front/ANJA/blu_source/text_section.php?active_btn4&text_sub_typeblog-style&sec_id393; menu_array4.meta_title Danielle Eileen Photography; menu_array4.type text; if (menu_array4.type proof){ vars.proof_btn_no 4; } menu_array4.subtype blog-style; menu_array4.color db8534; menu_array4.url_link ; menu_array4.link_target _blank; menu_array4.open_first 0; menu_array4.menu_group 1; menu_array4.widget_width 0; menu_array4.widget_height 0; menu_array4.visible true; menu_array5 new Object(); menu_array5.name CONTACT; menu_array5.rel CONTACT; menu_array5.url blu_front/ANJA/blu_source/contact.php?active_btn5&sec_id376; menu_array5.meta_title Danielle Eileen Photography; menu_array5.type contact; if (menu_array5.type proof){ vars.proof_btn_no 5; } menu_array5.subtype ; menu_array5.color db8534; menu_array5.url_link ; menu_array5.link_target _blank; menu_array5.open_first 0; menu_array5.menu_group 1; menu_array5.widget_width 0; menu_array5.widget_height 0; menu_array5.visible true; menu_array6 new Object(); menu_array6.name TESTIMONIALS; menu_array6.rel TESTIMONIALS; menu_array6.url blu_front/ANJA/blu_source/featured_text_sec.php?active_btn6&text_sub_typenews&sec_id383; menu_array6.meta_title Danielle Eileen Photography; menu_array6.type news; if (menu_array6.type proof){ vars.proof_btn_no 6; } menu_array6.subtype news; menu_array6.color db8534; menu_array6.url_link ; menu_array6.link_target _blank; menu_array6.open_first 0; menu_array6.menu_group 1; menu_array6.widget_width 0; menu_array6.widget_height 0; menu_array6.visible true; //GET JUKEBOX ARRAY var jukebox_array new Array(); var song_array new Array(); var download_opt_array new Array(); download_opt_array1 new Object(); download_opt_array1.id 1; download_opt_array1.label 4x6 Canvas print; download_opt_array1.type Print; download_opt_array1.w 0; download_opt_array1.h 0; download_opt_array1.price 15.00; download_opt_array1.gal_id 0; download_opt_array1.gal_type ; download_opt_array1.img_id 0; download_opt_array1.res ; download_opt_array2 new Object(); download_opt_array2.id 2; download_opt_array2.label 5x7 print; download_opt_array2.type Print; download_opt_array2.w 0; download_opt_array2.h 0; download_opt_array2.price 25.00; download_opt_array2.gal_id 0; download_opt_array2.gal_type ; download_opt_array2.img_id 0; download_opt_array2.res ; download_opt_array3 new Object(); download_opt_array3.id 3; download_opt_array3.label 8x10 print; download_opt_array3.type Print; download_opt_array3.w 0; download_opt_array3.h 0; download_opt_array3.price 55.00; download_opt_array3.gal_id 0; download_opt_array3.gal_type ; download_opt_array3.img_id 0; download_opt_array3.res ; download_opt_array4 new Object(); download_opt_array4.id 4; download_opt_array4.label 8x12 print; download_opt_array4.type Print; download_opt_array4.w 0; download_opt_array4.h 0; download_opt_array4.price 65.00; download_opt_array4.gal_id 0; download_opt_array4.gal_type ; download_opt_array4.img_id 0; download_opt_array4.res ; download_opt_array5 new Object(); download_opt_array5.id 5; download_opt_array5.label 11x14 print; download_opt_array5.type Print; download_opt_array5.w 0; download_opt_array5.h 0; download_opt_array5.price 85.00; download_opt_array5.gal_id 0; download_opt_array5.gal_type ; download_opt_array5.img_id 0; download_opt_array5.res ; download_opt_array6 new Object(); download_opt_array6.id 6; download_opt_array6.label 12x18 print; download_opt_array6.type Print; download_opt_array6.w 0; download_opt_array6.h 0; download_opt_array6.price 100.00; download_opt_array6.gal_id 0; download_opt_array6.gal_type ; download_opt_array6.img_id 0; download_opt_array6.res ; download_opt_array7 new Object(); download_opt_array7.id 13; download_opt_array7.label download hi-res; download_opt_array7.type Image; download_opt_array7.w 0; download_opt_array7.h 0; download_opt_array7.price 50.00; download_opt_array7.gal_id 0; download_opt_array7.gal_type ; download_opt_array7.img_id 0; download_opt_array7.res high; download_opt_array8 new Object(); download_opt_array8.id 14; download_opt_array8.label download lo-res; download_opt_array8.type Image; download_opt_array8.w 0; download_opt_array8.h 0; download_opt_array8.price 80.00; download_opt_array8.gal_id 0; download_opt_array8.gal_type ; download_opt_array8.img_id 0; download_opt_array8.res low; var btn_count 6; var active_btn 0; var img_count 0; var sec_count 0; var active_subsec ; //var old_img -1; var home_speed 4 * 1000; var gallery_speed 4000; // * 1000; var proofing_speed 4000; // * 1000; var slide_play ; var slide_playing false; var slide_int -1; var font_int -1; var set_image_int -1; var img_fr_w 0; var col_img_fr_w 0; var collage_spacer 5; var loader_int -1; var loader_fade_dir in; var curr_page 1; var active_sec ; var title_xpad 0; var title_ypad 20; var menu_btn_vpad 20; var menu_btn_hpad 10; var btn_hspacer 15; var btn_vspacer 3; var content_padding 20; var header_padding 15; var logo_padding 10; var arrow_pad 5; var small_thumb_h 100; var use_shadows no; var image_array new Array(); var featured_image_array new Array(); var home_featured_image_array new Array(); var global_cart_opt_array new Array(); var gal_cart_opt_array new Array(); var img_cart_opt_array new Array(); var img_cart_opt2_array new Array(); var img_cart_array new Array(); var img_cart_array2 new Array(); var cart_pack_array new Array(); var image_array new Array(); vars.site_opened false; vars.entry_animation_speed 1200; vars.popup_opacity 0.85; vars.sec_loaded false; vars.proof_logged false; vars.proof_id ; vars.profile_logged false; vars.set_image_int -1; vars.old_img -1; vars.curr_img 0; vars.img1_w 0; vars.img1_h 0; vars.img2_w 0; vars.img2_h 0; vars.img3_w 0; vars.img3_h 0; vars.img4_w 0; vars.img4_h 0; vars.page_no 0; vars.curr_color 9ba019; vars.btn_over_color ; vars.menu_mode ; vars.browser ; vars.ipad ; vars.mobile ; vars.site_bg_type interface; vars.water_opacity 75/100; vars.water_enable all; vars.water_pos middle; vars.menu_position top; vars.menu_bottom_pad 30; vars.login_bottom_pad 20; vars.login_top_pad 10; vars.fonts_handled false; vars.menu_bg_type full; vars.background_option none; vars.text_pad 30; vars.copy_vspace 40; vars.img_spacer 5; vars.thumb_spacer 5; vars.thumb_fr_w 0; vars.thumb_only_w 210; vars.thumb_only_h 140; vars.thumbs_view not set; vars.gallery_view not set; vars.scroller false;// indicates whether the text area needs a scroller vars.scroll_msg false; vars.site_orientation horizontal; vars.menu_h 0; vars.home_display fade; vars.favorites 0; vars.social_w 0; vars.social_h 0; vars.cart_opened false; vars.active_sec_type ; vars.first_img_loaded false; //checks if 1st image has displayed so the thumbs can display vars.proof_popup 0; vars.logo_xpos 0; vars.logo_pos ; vars.doc_h 0; //document height used for refreshing the bg color vars.featured_opened false; vars.footer_h 150; vars.contact_ypos 0; vars.proof_ypos 0; vars.collage_ypos 0; vars.featured_ypos 0; vars.cart_ypos 0; vars.header_bg_h 0; vars.proof_gal_url ; vars.blucart_count 0; vars.max_thumb_rows 20; vars.max_img_rows 30; vars.curr_news_page 1; if(vars.mobile ) { vars.max_thumb_rows 50; vars.max_img_rows vars.max_thumb_rows; } else if(vars.ipad) { vars.max_thumb_rows 30; vars.max_img_rows vars.max_thumb_rows; } vars.cart_need_phone false; //check for retina function isHighDensity(){ return ((window.matchMedia && (window.matchMedia(only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)).matches || window.matchMedia(only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)).matches)) || (window.devicePixelRatio && window.devicePixelRatio > 1.3)); } function isRetina(){ return ((window.matchMedia && (window.matchMedia(only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx), only screen and (min-resolution: 75.6dpcm)).matches || window.matchMedia(only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)).matches)) || (window.devicePixelRatio && window.devicePixelRatio > 2)) && /(iPad|iPhone|iPod)/g.test(navigator.userAgent); } if (isHighDensity() || isRetina()){ vars.retina true; } else { vars.retina false; } //vars.retina window.devicePixelRatio > 1; //set sound vars var sound_vars {}; sound_vars.play_on_load no; if (sound_vars.play_on_load yes){ sound_vars.sound_status playing; } else { sound_vars.sound_status paused; } sound_vars.loop yes; sound_vars.start_vol 50; sound_vars.song_no 1; sound_vars.jukebox_count 0; sound_vars.curr_song_no 1; sound_vars.gal_song false; $(document).ready(function(){ (function() { var wf document.createElement(script); wf.src (https: document.location.protocol ? https : http) + ://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js; wf.type text/javascript; wf.async true; var s document.getElementsByTagName(script)0; s.parentNode.insertBefore(wf, s); })(); /*var cookies cart_get_cookies_array(); for (var name in cookies) { if (name.indexOf(blufavorite) ! -1){ delete_cookie(name); } } cart_set_cookie( favorite_id, 0); */ document.body.style.webkitTouchCalloutnone; //set loader //set loader /*new Spinner(document.getElementById(spinner), { radii: 10, 12, dashes: 8, dashWidth: 5, opacity: 1, speed: .7, padding: 7, color: #000000 }).play();*/ //cart_update_count(); if (sound_vars.play_on_load yes){ //soundManager.setVolume(10); //$(#sound_play_btn).mouseover(); } //LOAD PAGE if ($(#shop_buttons).length){ $(#shop_buttons).data(opened, false); } // if ($(#login_buttons).length){ // $(#login_buttons).data(opened, false); //} //SET COPYRIGHT /*$(#copyright_div).css({ display: none, visibility: visible }); $(#copyright_div).fadeIn();*/ //SET SOCIAL ICONS $(#social_buttons).data(opened, false); set_size(); //$(#footer_invis_div).fadeTo(0, 0.2); //load graphics //load_queue(lq_curr_index); /*if ($(# + lqlq_curr_index.div_id).length){ $(# + lqlq_curr_index.div_id).append(img idimg_ + lqlq_curr_index.div_id + src + lqlq_curr_index.path + >); $(#img_ + lqlq_curr_index.div_id).load(function(){ $(# + lqlq_curr_index.div_id).css({ visibility: visible }); $(# + lqlq_curr_index.div_id).fadeIn(); lq_curr_index++; }); }*/ //SET BACKGROUND IMAGE if ($(#bg_img).length){ $(#bg_img).load(function(){ set_size(); $(#bg_img).css({ visibility: visible }) }); } //SET CART BTN // ////SET SECTIONS //$(.menu_btn).address(); //$(.submenu_btn).address(); $.address.crawlable(true); $.address.init(function(event) { //alert(event.value); var front_dir blu_front/ANJA/; if (event.value /){ /*for (i1; ibtn_count; i++){ if (menu_arrayi.open_first 1){ var rel menu_arrayi.rel; } }*/ var rel menu_array1.rel; vars.active_rel rel; //if(!vars.fonts_loaded) { // font_int setInterval(monitor_fonts(), 50); // return; //} $.address.path(rel); } else { //get URL address //var url $(arel|address: + event.value + ).attr(href); //get active btn no for (i1; ibtn_count; i++){ var rel / + menu_arrayi.rel; //debug(rel); if (rel event.value){ var id i; } } var proof_gal_direct false; //var id $(arel|address: + event.value + ).attr(id); var rel_array event.value.split(/); //submenu button if (rel_array.length > 4){ active_btn rel_array1; vars.sec_id rel_array3; if (rel_array2 proof){ //rel menu_arrayactive_btn.rel; var url front_dir + blu_source/gallery.php?active_btn + vars.proof_btn_no + &gal_id + rel_array3 + &gal_typeWed; if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var proof_gal_direct proof; } else if (rel_array2 proof_preview){ //var url proof_preview.php; if (vars.proof_status logged){ rel event.value; } else { rel menu_arrayactive_btn.rel; } //alert(rel); } else if (rel_array2 featured){ rel $(#featured_rel + active_btn + _ + rel_array4).html(); } else if (rel_array2 video){ rel $(#video_rel + active_btn + _ + rel_array4).html(); } else if (rel_array2 favorites){ rel $(#favorites_btn).data(rel); active_btn 99; active_btn favorites; } else { rel $(#invis_rel + active_btn + _ + vars.sec_id).html(); $(#subbtn + active_btn + _ + vars.sec_id).css({ color: #ffffff }); //open_submenu(active_btn); } //regular button } else { if (event.value /cart){ active_btn cart; rel cart; position_menu_btn_over(); } else if (event.value /profile){ rel profile; } else if (event.value /favorites){ active_btn favorites; rel favorites; position_menu_btn_over() } else { active_btn id;//id.replace(/^\d.,+/,); rel menu_arrayactive_btn.rel; } } vars.active_rel rel; //if(!vars.fonts_loaded) { // font_int setInterval(monitor_fonts(), 50); // return; //} var sec_type ; if (active_btn > 0 && active_btn btn_count){ sec_type menu_arrayactive_btn.type; $(#btn_div + active_btn).find(span).css({ //color: # + vars.curr_color }); /*$(#btn + active_btn).animate({ font-size: 150% },fast, easeOutQuart ); */ $(#btn_bullet + active_btn).css({ //visibility: visible }); } //alert(active_btn + + vars.proof_btn_no); bluSetAccess(proof_gal_direct); /* if (active_btn vars.proof_btn_no){ if (vars.profile_logged){ bluSetAccess(init); } else { //$.address.path(menu_array1.rel); } } else { //$.address.path(rel); }*/ } //$(#btn_div + active_btn).click(); }); $.address.change(function(event) { //alert(vars.fonts_loaded); //debug(event.value + + vars.fonts_loaded); var prev_active active_sec; //alert(event.value + + vars.active_rel); if (event.value ! vars.active_rel || true){ vars.curr_section active_sec; if (event.value /refresh_favorites){ $.address.path($(#favorites_btn).data(rel)); } else if (event.value /refresh_prev_page){ $.address.path(vars.prev_rel); } else if (event.value /refresh_gallery_view){ vars.prev_rel vars.active_rel; vars.active_rel ; $.address.path(vars.prev_rel); //var link_array event.value.split(/); } else if (event.value ! /# && event.value ! /){ vars.prev_rel vars.active_rel; vars.active_rel event.value; //var url $(arel|address: + event.value + ).attr(href); //get active btn no //var id $(arel|address: + event.value + ).attr(id); var link_array event.value.split(/); var sec_meta_title ; //alert(test); //if sub btn var front_dir blu_front/ANJA/; if (link_array.length > 4){ active_btn parseInt(link_array1); vars.sec_id link_array3; //alert(vars.proof_gal_url); if (link_array2 proof){ //alert(vars.proof_id); var url front_dir + blu_source/gallery.php?active_btn + vars.proof_btn_no + &gal_id + link_array3 + &gal_typeWed; if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } //alert(url); } else if (link_array2 proof_preview){ var url front_dir + blu_source/proof_preview.php?active_btn + active_btn; } else if (link_array2 featured){ var url $(#featured_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); //alert(url); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#featured_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sec_id link_array4; } else if (link_array2 news){ var url $(#invis_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); var sec_meta_title $(#invis_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sub_type news; vars.sec_id link_array4; } else if (link_array2 sale){ var url $(#invis_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); var sec_meta_title $(#invis_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sub_type sale; vars.sec_id link_array4; } else if (link_array2 video){ //alert(#video_url + active_btn + _ + link_array4); var url $(#video_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#video_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } //alert(1 + url); vars.sec_id link_array4; } else if (link_array2 favorites){ var url front_dir + blu_source/gallery.php?gal_id0&gal_typeFav&favorite_gallery1; sec_meta_title favorites; } else { var url $(#invis_url + active_btn + _ + vars.sec_id).html(); url $(textarea />).html(url).val(); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#invis_meta + active_btn + _ + vars.sec_id).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); } //if main btn } else { //get URL address if (event.value /cart){ var url front_dir + blu_source/cart.php; } if (event.value /profile){ var url front_dir + blu_source/profile_purchases.php; } if (event.value /favorites){ var url front_dir + blu_source/gallery.php?favorite_galleryyes; active_btn 0; } else { for (i1; ibtn_count; i++){ var rel / + menu_arrayi.rel; if (rel event.value){ var url menu_arrayi.url; active_btn i; } } } } //position_menu_btn_over(); if (active_sec widget link) { $(#widget_div + vars.active_sec_id).fadeOut(); } //alert(menu_arrayactive_btn.subtype); //get active section type if (link_array1 cart){ active_btn cart; active_sec cart; var sec_meta_title cart; } else if (link_array1 profile){ active_sec profile; var sec_meta_title profile; } else if (link_array1 favorites){ active_btn favorites; active_sec fav_gallery; var sec_meta_title favorites; } else if (link_array2 ! proof && link_array2 ! proof_preview && link_array2 ! featured && link_array2 ! video && link_array2 ! favorites){ if (menu_arrayactive_btn.subtype collage){ active_sec collage; } else if (menu_arrayactive_btn.subtype featured || menu_arrayactive_btn.subtype featured-blog){ active_sec featured; } else if (menu_arrayactive_btn.subtype video){ if (menu_arrayactive_btn.type video){ active_sec video_sec; } else if (menu_arrayactive_btn.type home){ active_sec video; } } else { active_sec menu_arrayactive_btn.type; } } else if (link_array2 proof_preview){ active_sec proof_preview; } else if (link_array2 featured){ active_sec galleries; } else if (link_array2 video){ active_sec video; } else if (link_array2 proof){ active_sec proof_gallery; } if (link_array2 news || link_array2 sale) { active_sec text; } //alert(2 + url); //if (active_sec ! proof_gallery){ //$(#back_btn).fadeOut(); //} if(prev_active home){ killHomeTimers(); } //bluSetAccess(); // if (sec_meta_title! ){ $.address.title(sec_meta_title); } else { //alert(menu_arrayactive_btn.meta_title); $.address.title(menu_arrayactive_btn.meta_title); } //clear slideshow if any if(slide_int) { clearInterval(slide_int); slide_int -1; vars.curr_img 0; } //debug(active_sec + + vars.sub_type); /*$(#spinner).css({ visibility: visible, display: none, top: (win_h - $(#spinner).height())/2, left: (win_w - $(#spinner).width())/2 });*/ $(#loader_div).css({ visibility: visible, display: none, top: vars.interface_ypos + (content_h - $(#loader_div).height())/2 }); bluShowLoader(); //if (active_sec proof && vars.proof_popup){ // $(#page).fadeTo(fast, 0); //} else { //$(#spinner).fadeIn(); //$(#loader_div).fadeIn(); $(divid*title_div).fadeOut(); $(divid*title_div).data(opened, false); //if ($(#watermark).length){ //$(#watermark).fadeOut(); //} if ($(#favorites_btn).length){ //$(#favorites_btn).fadeOut(); } if ($(#slideshow_btn).length){ $(#slideshow_btn).fadeOut(); $(#slideshow_btn_divider).fadeOut(); } /*if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery){ if ($(#gallery_view_btn).length){ $(#gallery_view_btn).fadeOut(); } }*/ if ($(#content_frame_div).length){ $(#content_frame_div).fadeOut(); } if (vars.mobile && active_sec ! home){ if ($(#home_links_div).length){ //if ($(#home_links_div).data(opened)){ //$(#home_links_div).data(opened, false); // vars.home_featured_html $(#home_links_div).html(); //$(#home_links_div).empty(); ///} } } $(#page).fadeOut(0, function() { if(slide_int) { clearInterval(slide_int); slide_int -1; vars.curr_img 0; } $(divid*title_div).empty(); $(divid*title_div).css({ visibility: hidden, display: }); $(#page).empty(); $(#page).height(1); $(#page).css({ display: , visibility: hidden }); close_footer_elements(); //$(#page).scrollTop(); vars.sec_loaded false; window.scrollTo(0, 0); $(#scroll_div).empty(); //alert(url.indexOf(proof_login)); //if (url.indexOf(proof_login) -1){ //alert(getDocHeight()); //alert(url); $(#page).load(url, function() { //alert(url); /* if ($(#doc_bg).length){ if (!$(#doc_bg).data(opened)){ $(#doc_bg).css({ display: none, visibility: visible }); $(#doc_bg).data(opened, true); $(#doc_bg).fadeIn(); } } */ open_site(); /*if (!vars.mobile || (vars.mobile && active_sec home)){ if ($(#home_links_div).length){ if (!$(#home_links_div).data(opened)){ $(#home_links_div).data(opened, true); $(#home_links_div).css({ display: none, visibility: visible }); $(#home_links_div).html(vars.home_featured_html); $(#home_links_div).fadeIn(); } } }*/ if (vars.mobile){ if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(function(){ bluSetLoginBtn(); }); } } /*if (!$(#login_buttons).data(opened)){ $(#login_buttons).css({ display: none, visibility: visible }); $(#login_buttons).data(opened, true); $(#login_buttons).fadeIn(); }*/ $(img).bind(dragstart, function(event) { event.preventDefault(); }); // //set gallery music //check if there are images in the section set_size(new); if ($(#favorites_btn).length){ $(#favorites_btn).css({ display:, visibility: visible }); //alert(test); /*$(#favorites_btn).fadeIn(); $(#favorites_btn_img).load(function(){ $(#favorites_btn).css({ display:, visibility: visible }); });*/ } //if(vars.fonts_loaded true || true) { $(#page).css({ display: none, visibility: visible }); //set_size(); $(#page).fadeTo(slow, 1, function() { set_size(); }); //} else { // font_int setInterval(monitor_fonts(), 1000); // $(#page).css({ // display: none, // visibility: hidden // }); //} if (active_sec collage){ position_collages(); load_collage(1); //set_color(0); } else if (active_sec featured){ //position_featured(); display_featured(1); set_color(0); } else if (active_sec news){ //position_featured(); display_featured_text(1); set_color(0); } else if (active_sec sale){ //position_featured(); display_featured_text(1); set_color(0); } else if (active_sec video_sec){ //position_video_gal(); load_video_gal(1); set_color(0); } else if(active_sec widget link) { //get_widget(vars.active_sec_id, active_btn); $(#widget_div + vars.active_sec_id).css({ display: none, visibility: visible }); $(#widget_div + vars.active_sec_id).fadeIn(); //$(#img_container_div1).fadeIn(function(){ if ($(#text_div).length){ $(#text_div).css({ display: , visibility: visible }); $(#title_div).css({ display: none, visibility: visible }); $(#title_line_left).css({ display: none, visibility: visible }); $(#title_line_right).css({ display: none, visibility: visible }); $(#text_div ).css({ display: none }); $(#text_div).fadeIn(function(){ //if ($.trim($(#title_div).html()) ! ){ $(#title_div).fadeIn(); $(#title_line_left).fadeIn(); $(#title_line_right).fadeIn(); //} }); } //}); } else if (active_sec testimonials){ display_test_thumbnails(); display_test(1); $(#title_div).css({ display: none, visibility: visible }); $(#title_div).fadeIn(); //position_testimonial(1); set_color(0); } else if (active_sec video){ position_videos(); if (vars.video_count > 1){ // load_video(1); } else { // load_video(1); } set_color(0); } else if (active_sec home || active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ vars.curr_img 0; vars.old_img 0; vars.page_no 0; set_color(1); if (active_sec home){ //if ( vars.active_sec_type home){ // start_slideshow(); //} else if ( vars.active_sec_type video){ // load_video(1); //} loadHomeImages(); position_home_sections(); } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ if (vars.gallery_view thumbs_only){ //display with row of thumbnails display_thumbs_only(1); vars.main_gallery_view thumbs_only; } else if (vars.gallery_view blogstyle || vars.mobile){ vars.main_gallery_view blogstyle; vars.gal_img_xpos 0; //if(vars.mobile) { // display_thumbs_only(1); //} else { load_gal_images(1); //} } else { if(vars.gallery_view slideshow) { open_image_preview(1, slideshow); slide_playing true; vars.main_gallery_view slideshow; $(#slideshow_btn).html(STOP SLIDESHOW); if ($(#slideshow_btn).length){ $(#slideshow_btn).css({ display:none, visibility: visible }); $(#slideshow_btn).fadeIn(); } } else { open_image_preview(1); } } } } else { set_color(0); for (var i1; isec_count; i++){ if (active_sec text){ //vars.text_pos sec_arrayi.text_pos; //debug(i + + sec_arrayi.text_pos); if(sec_arrayi.media_type video || sec_arrayi.text_pos center || sec_arrayi.text_pos right) { $(#content_div + i).css({ display:none, visibility:visible }); $(#content_div + i).fadeIn(slow); } } } } //$(imgid*shadow).attr(src, ); $(divid*shadow).empty(); vars.sec_loaded true; //HIDE LOADER //$(#spinner).fadeOut(); //if(active_sec ! proof_gallery) { //if(vars.fonts_loaded){ $(#loader_div).fadeOut(); //} //} }); //end load // } //else { // process_proof_login(./blu_source/proof_login_profile.php); //} }); //} } } }); }); function monitor_fonts() { if(vars.fonts_loaded true && vars.fonts_handled false) { clearInterval(font_int); font_int -1; set_size(new); if(active_sec home){ position_home_sections(); } else if(active_sec featured) { position_featured(); } $(#page).css({ display: none, visibility: visible }); $(#page).fadeTo(slow, 1); $(#loader_div).fadeOut(); vars.fonts_handled true; } } //POSITION & SIZE PAGE ELEMENTS if (!vars.mobile){ $(window).resize(function(){ set_size(resize); }); } else if (vars.mobile){ window.addEventListener(orientationchange, function() { // Announce the new orientation number set_size(flip); }, false); } var site_w 1050; var site_h 700; var site_r site_w/site_h; var vpadding 80; var hpadding 25; var copy_vspace 40; vars.max_img_w site_w - img_fr_w * 2; vars.max_img_h site_h - img_fr_w * 2; vars.max_home_img_w vars.max_img_w; vars.max_home_img_h vars.max_img_h; vars.logo_menu_w 0; var win_w, win_h, max_w, max_h, min_w, content_w, content_h, site_total_h; win_w 0; function get_size(type){ //alert($(window).width()); if (type resize || type flip || win_w 0){ win_w $(window).width(); } win_h $(window).height(); vars.side_menu_w $(#logo_div).data(w) + 70; if( vars.menu_w > $(#logo_div).data(w)) { vars.side_menu_w vars.menu_w + 35; } if(vars.menu_position top || vars.menu_position top_above_logo || vars.mobile) { vars.side_menu_w 0; } if (vars.mobile){ max_w win_w; } else { max_w win_w - vars.side_menu_w - 70; } //vars.menu_w 0; //for (var i1; ibtn_count; i++){ // vars.menu_w + $(#btn_div + i).width(); // if (i btn_count){ // vars.menu_w + 15; // } //} min_w vars.menu_w + $(#logo_div).data(w) + 15 * 5; if(vars.menu_position top || vars.menu_position top_above_logo) { vars.menu_h 12 + 4; //vars.menu_h $(#btn + 1).data(h); } //vars.menu_h 12 + 3 + 5 * 2; //alert(vars.menu_w + + content_w); //if (vars.menu_w > content_w){ // vars.menu_h + 12 + 3 + 10; //} vars.menu_over_h 0;//parseInt(22px); vars.logo_h 67; vars.min_vpadding vars.logo_h + 90 + vars.menu_h; if (vars.mobile){ vars.min_vpadding vars.logo_h + content_padding * 2 + 10 + 40; } if (vpadding vars.min_vpadding){ vpadding vars.min_vpadding; } max_h win_h - 150 - vpadding; //max_h 65 * 5 + content_padding * 4; if (max_h 500 && !vars.mobile){ max_h 500; } //alert(max_h); content_h site_h; content_w site_w;//content_h * site_r + 0; //get_thumbs_width(1.5, 5); //content_w + img_fr_w * 2 + vars.thumbs_w - content_padding * 2; //alert(content_w + + min_w); if (content_w min_w){ //content_w min_w; //content_h content_w/site_r; } if (content_w > max_w){ content_w max_w; //content_h content_w/site_r; } //content_h win_h - 150 - vpadding - content_padding*3; if (vars.mobile){ content_w max_w win_w - content_padding; } site_total_h 0;//content_h;// + content_padding * 4; vars.max_img_w max_w; vars.max_img_h content_h; if (active_sec home){ vars.max_img_w content_w - img_fr_w * 2; vars.max_img_h vars.max_img_w / site_r; } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ //vars.max_img_w content_w - content_padding - 100; //vars.max_img_w content_w - img_fr_w * 2 - 0; if (vars.mobile){ vars.max_img_w content_w; vars.max_img_h vars.max_img_w / site_r; } else { vars.max_img_w content_w;//vars.max_img_h * site_r; vars.max_img_h vars.max_img_w / site_r; //if (vars.max_img_w > (content_w - 100)){ //vars.max_img_w (content_w - 150); //} } } // vars.max_img_h vars.max_img_w/site_r; if (content_h > vars.max_img_h){ content_h vars.max_img_h; //vars.max_img_w vars.max_img_h * site_r; } vars.min_win_w 1000; //if (content_w 900){ //content_w 900; //} vars.text_content_w content_w; //get featured img dimensions if (!vars.mobile){ vars.main_max_thumbs_per_row 3; } else { vars.main_max_thumbs_per_row 1; } var r 400/600; if (!vars.mobile){ vars.main_featured_img_w Math.ceil((vars.text_content_w - img_fr_w * (vars.main_max_thumbs_per_row + 1) - 380) / vars.main_max_thumbs_per_row) - 1; } else { vars.main_featured_img_w Math.ceil((vars.text_content_w - content_padding * (vars.main_max_thumbs_per_row - 1))/vars.main_max_thumbs_per_row) - 80; } vars.main_featured_img_h vars.main_featured_img_w * r; if (!vars.mobile){ vars.footer_h vars.main_featured_img_h; } //if (content_w > max_w && max_w vars.min_win_w){ //vars.text_content_w max_w; //} } function set_size(type){ //POSITION INTERFACE get_size(type); //alert(type); var menu_bg_h $(#menu_bg_div).height(); if(vars.mobile){ menu_bg_h 40; } if(vars.mobile){ vars.interface_ypos $(#logo_div).data(h) + 0 * 2 + 15 + content_padding * 2; } else { //vars.interface_ypos $(#logo_div).data(h) + 0 + 2 * 30 + vars.menu_h + 4 * 2 + content_padding + 30; vars.interface_ypos $(#logo_div).data(h) + (header_padding * 2) + vars.social_h; } var total_width vars.side_menu_w + content_w + 35; var content_area win_w - vars.side_menu_w; vars.interface_ypos 10 + 35; vars.interface_xpos vars.side_menu_w + ((win_w - total_width) / 2); //(win_w - content_w)/2; if(vars.menu_position right && !vars.mobile) { var total_width vars.side_menu_w + content_w - 35; vars.interface_xpos ((win_w - total_width) / 2); // - vars.side_menu_w / 2 + 35; //vars.interface_ypos vars.social_ypos; } else if(vars.menu_position top || vars.menu_position top_above_logo) { vars.interface_xpos ((win_w - content_w) / 2); //debug(header_padding); vars.interface_ypos $(#logo_div).data(h) + $(#menu_div).height() + (14) + (3 * header_padding) + vars.social_h + 10 ; // + vars.social_h //debug($(#logo_div).data(h) + + vars.menu_h + + vars.social_h + + vars.interface_ypos); } else if(vars.mobile) { vars.interface_xpos ((win_w - content_w) / 2); } if(vars.mobile) { vars.interface_ypos $(#logo_div).data(h) + vars.menu_h + ( header_padding * 4) ; } $(#interface_div).css({ top: vars.interface_ypos, left: vars.interface_xpos }); if (!$(#logo_bg).data(opened)){ //if (!vars.mobile){ $(#logo_bg).css({ display: none, visibility: visible }); $(#logo_bg).data(opened, true); $(#logo_bg).fadeIn(fast); //} } if ($(#back_to_top).length){ var btn_w $(#back_to_top).width(); $(#back_to_top).width(content_w); $(#back_to_top).css({ bottom: 40, left: vars.interface_xpos //win_w - btn_w - 20 }); } if ($(#login_form_div).length){ var logo_w $(#logo_div).data(w); var logo_h $(#logo_div).data(h); var login_ypos 0 + 15 + (logo_h - $(#login_form_div).height()) / 2 + 5; var login_ypos 10 + (( logo_h - $(#login_form_div).height()) / 2) ; //logo_h + header_padding * 3 + 10 + vars.menu_h ; if(vars.mobile) { login_ypos $(#logo_bg).height() + 30; } if (vars.logo_pos left || vars.logo_pos left){ var login_xpos vars.interface_xpos + content_w - $(#login_form_div).width(); } else { var login_xpos vars.interface_xpos; } if(!vars.mobile) { // var login_xpos vars.interface_xpos + ((content_w - $(#login_form_div).width() ) / 2); } var login_w $(#login_form_div).width(); //var signin_x $(#signin_btn).position().left; if (vars.profile_logged){ //signin_x $(#profile_name_div).position().left; } $(#login_form_div).css({ top: login_ypos, left: login_xpos, z-index: 15998 }); if (!$(#login_form_div).data(opened) && active_sec proof_gallery){ $(#login_form_div).data(opened, true); $(#login_form_div).css({ display:none, visibility:visible }); $(#login_form_div).fadeIn(); } else if ($(#login_form_div).data(opened) && active_sec ! proof_gallery){ $(#login_form_div).data(opened, false); $(#login_form_div).fadeOut(); } } vars.logo_bg_h 0; //logo_bg_h; position_menu_btn_over(); position_menu(resize); bluSetLoginBtn(); //POSITION PATTERN if ($(#pattern_top).length ){ $(#pattern_top).width(content_w); $(#pattern_top).css({ left: vars.interface_xpos }); } if (!$(#pattern_top).data(opened)){ $(#pattern_top).css({ display: none, visibility: visible }); $(#pattern_top).data(opened, true); $(#pattern_top).fadeIn(fast); } //POSITION LOGO var logo_bg_h 0; if ($(#logo_div).length ){ if(!vars.mobile) { //$(#logo_div).width(content_w); } //vars.menu_h $(#btn_div1).height(); var logo_margin 10; if (!vars.mobile){ var logo_bg_x 0; var logo_bg_y 0; var logo_bg_w win_w; vars.logo_ypos 10; // + ; //vars.interface_ypos - $(#menu_bg).height() + ($(#menu_bg).height() - $(#logo_div).data(h))/2; if (vars.logo_pos left){ vars.logo_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.logo_xpos (win_w - $(#logo_div).data(w))/2; } else if (vars.logo_pos right){ vars.logo_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); } vars.logo_xpos vars.interface_xpos; // - vars.side_menu_w; // + 35; if(vars.menu_position right) { vars.logo_xpos vars.menu_xpos + vars.side_menu_w - $(#logo_div).data(w) - 70; } else if(vars.menu_position top) { var logo_w $(#logo_div).data(w); //vars.logo_xpos (win_w - logo_w)/2; vars.logo_xpos vars.interface_xpos; if (vars.logo_pos left){ vars.logo_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.logo_xpos (win_w - $(#logo_div).data(w))/2; } else if (vars.logo_pos right){ vars.logo_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); } vars.logo_ypos 10; } else if(vars.menu_position top_above_logo) { vars.logo_xpos (win_w - $(#logo_div).data(w))/2; vars.logo_ypos 10 + vars.menu_h + 14 + header_padding; } //vars.logo_xpos vars.interface_xpos;//(win_w - $(#logo_div).data(w))/2; //alert(vars.interface_xpos); } else { var logo_bg_x 0; var logo_bg_y 0; var logo_bg_w win_w; var logo_w $(#logo_div).data(w); var logo_h $(#logo_div).data(h); var logo_rel logo_w / logo_h; if(logo_w > content_w) { var new_logo_w content_w; var new_logo_h new_logo_w / logo_rel; $(#logo_div_img).width(new_logo_w); $(#logo_div_img).height(new_logo_h); $(#logo_div).data(w, new_logo_w); $(#logo_div).data(h, new_logo_h); } vars.logo_ypos 40 + 10; vars.logo_xpos (win_w - $(#logo_div).width())/2; } logo_bg_h $(#logo_div).data(h) + 4*30; if(false) { $(#logo_bg).width(logo_bg_w); $(#logo_bg).height(logo_bg_h); $(#logo_bg).css({ top: logo_bg_y, left: logo_bg_x }); } $(#logo_div).css({ top: vars.logo_ypos, left: vars.logo_xpos }); //alert($(#logo_div).data(loaded)); /* if ($(#logo_div).data(loaded) && !$(#logo_div).data(opened) && (vars.logo_xpos > 0 || vars.mobile)){ $(#logo_div).data(opened, true); $(#logo_div).css({ display: none, visibility: visible }); $(#logo_div).fadeIn(1500, function() { if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(1500); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ top: vars.site_icons_ypos - 2, display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(1500, function(){ bluSetLoginBtn(); }); } }); } */ } var min_site_h site_total_h + vpadding + content_padding; vars.site_total_h win_h; if (vars.site_total_h min_site_h){ vars.site_total_h min_site_h; } vars.interface_h site_total_h; vars.site_h vars.site_total_h; //$(#site_div).height(getDocHeight()); //$(#invis_site_div).height(vars.site_h); //$(#site_div).width(vars.text_content_w); //$(#footer_div).width($(#site_div).width()); $(#interface_div).width(content_w); /*if ((active_sec galleries || active_sec proof_gallery || active_sec fav_gallery) && vars.thumbnails no && !vars.gallery_view ! thumbs_only){ $(#interface_div).width(win_w - 20); } else { if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery ){ $(#interface_div).width(vars.text_content_w); } else { $(#interface_div).width(content_w); } }*/ $(#interface_div).height(vars.interface_h); //vars.interface_ypos (win_h - site_total_h)/2; if ($(#site_div).length){ $(#site_div).width(content_w + 70); $(#site_div).height(win_h); //$(#site_div).height(getDocHeight()); $(#site_div).css({ display:block, left: vars.interface_xpos - 35, top: 0 }); if (!$(#site_div).data(opened)){ $(#site_div).data(opened, true); $(#site_div).fadeIn(); } } //SET SECTION WIDTH & HEIGHT if ($(#section).length){ $(#section).width(content_w); //$(#section).height(content_h + vpadding); } if ($(#img_content_frame_div).length){ $(#img_content_frame_div).width(content_w + content_padding*4); $(#img_content_frame_div).height(content_h + content_padding*6); $(#content_frame_div).css({ top: vars.interface_ypos - content_padding*2, left: vars.interface_xpos - content_padding*2 }); } if ($(#bg_img).length){ $(#bg_img).height(win_h); $(#bg_img).css({ position: fixed, z-index:-1 }); if(vars.menu_bg_type ! full_window && vars.site_bg_type interface && vars.background_option custom ) { $(#bg_img).width(content_w + (2* 35) - 10); $(#bg_img).css({ left: vars.interface_xpos - 35, border-left: 5 + px solid #ffffff, border-right: 5 + px solid #ffffff, }); } } //SET WATERMARK if ($(#watermark).length && !vars.mobile && false){ if ((active_sec home && vars.featured_count 0) || vars.gallery_view thumbs_only){ vars.water_xpos vars.interface_xpos + (content_w - $(#watermark).width())/2; } else { vars.water_xpos vars.interface_xpos + 0 + (content_w - 0 - $(#watermark).width())/2; } $(#watermark).css({ top: vars.water_ypos, left: vars.water_xpos }); if (active_sec ! proof_gallery && active_sec ! galleries && active_sec ! home && active_sec ! fav_gallery){ $(#watermark).css({ display: , visibility: hidden }); } } //POSITION TEXT SECTION if (active_sec text){ if (vars.sec_loaded || type flip || type resize){ //setSecImages(1, true, 1, true); if(sec_count > 1) { for (var i1; i sec_count; i++){ var text_position sec_arrayi.text_pos; //; //debug(i + + sec_count + + text_position); if(text_position ! center && text_position ! ) { scaleSecImages(i, true); //setSecImages(i, true, sec_count, false); //break; } } } else { var text_position ; ///debug(pos + text_position); if(text_position ! center) { scaleSecImages(1, true); //setSecImages(1, true, sec_count, false); } } if(vars.sub_type news || vars.sub_type sale) { //alert(news); if(type resize || type flip) { for (var i1; i sec_count; i++){ position_news(i); } } } else { position_text(); } } //POSITION CONTACT SECTION } else if (active_sec contact){ //if (vars.sec_loaded && !1){ if (vars.sec_loaded || type resize){ //alert(scale); scaleSecImages(1, false); } //POSITION PROOFING LOGIN SECTION } else if (active_sec proof){ //if (vars.sec_loaded && !1){ if ((vars.sec_loaded || type resize) && vars.text_pos ! center){ //alert(scale); scaleSecImages(1, false); } //POSITION PROOFING LOGIN SECTION } else if (active_sec proof_preview){ if (vars.sec_loaded){ position_proof_preview(); } //POSITION GALLERY ELEMENTS } else if (active_sec featured){ if (vars.sec_loaded){ if( (type resize || type flip) && vars.mobile true){ display_featured(vars.page_no); } else { position_featured(); } } } else if (active_sec news || active_sec sale){ if (vars.sec_loaded || type resize || type flip){ //alert(type); if( (type resize || type flip) && vars.mobile){ display_featured_text(vars.page_no); //scaleSecImages(1, false); //position_featured_text(); } else { position_featured_text(); } } } else if (active_sec widget link){ if (vars.sec_loaded){ //position_widget(); } } else if (active_sec video){ if (vars.sec_loaded){ position_videos(); //position_video_thumbs(); } } else if (active_sec home){ if (vars.sec_loaded){ //if ( vars.active_sec_type home && vars.featured_count > 0){ //position_home_featured(); //} else if ( vars.active_sec_type video){ // position_video_thumbs(); //} position_home_sections(); } } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ if (vars.gallery_view ! blogstyle){ if (vars.gallery_view thumbs_only && (type flip && vars.mobile)){ display_thumbs_only(vars.page_no); //position_thumbs_only(); } else if((vars.gallery_view thumbs_only && type resize && !vars.mobile)) { //scale_thumbs_only(); position_thumbs_only(); } else if(vars.gallery_view arrow_nav) { //position_arrow_nav(); //scale_preview_image(); } /*else if (vars.gallery_view slideshow){ if (vars.curr_img > 0){ resize_image(resize); } position_thumbs(); }*/ } else { if( (type resize || type flip)) { scale_gal_images(); } position_footer(); } } if (vars.site_h > vars.site_total_h){ //$(#site_div).height(vars.site_h); if (!vars.scroll_msg){ $(#scroll_msg).css({ top: win_h - $(#scroll_msg).height() - 18, left: (win_w - $(#scroll_msg).width())/2, visibility: visible, display: none }); $(#scroll_msg).delay(200).fadeIn().delay(2000).fadeOut(); vars.scroll_msg true; } } if ($(#sound_player_div).length){ vars.sound_xpos vars.interface_xpos;// + content_w - $(#sound_player_div).width() - 25; } if (active_sec proof_gallery){ vars.back_xpos vars.interface_xpos + content_w - $(#back_btn).width();// + content_padding + vbar_w + 3;// - $(#back_btn).width();//(win_w - $(#copyright_div).width())/2; vars.back_ypos vars.copy_ypos + 20;//win_h - 30;//site_total_h - $(#copyright_div).height(); $(#back_btn).css({ top: vars.back_ypos, left: vars.back_xpos, visibility: visible, display: none }); if (vars.proof_client_type multi){ $(#back_btn).fadeIn(); } } if ($(#footer_div).length){ if (!vars.mobile){ $(#footer_div).width(content_w); } else { $(#footer_div).width(win_w); } vars.main_featured_w 0; if (vars.main_featured_count > 0 && !vars.mobile){ if (vars.main_featured_count > 3){ vars.main_featured_w 3 * vars.main_featured_img_w + 3 * content_padding; } else { vars.main_featured_w vars.main_featured_count * vars.main_featured_img_w + vars.main_featured_count * content_padding; } $(#footer_div).width(content_w - vars.main_featured_w); } //$(#footer_border_div).height($(#footer_div).height() - 16 - 2); $(#footer_border_div).height(0); $(#footer_border_div).width($(#footer_div).width() - 16 - 2); //if ((active_sec text && vars.sub_type blog-style) || active_sec featured || active_sec collage || active_sec video){ position_footer(); if (!vars.mobile){ var footer_x 35; if(vars.menu_bg_type ! full_window) { footer_x vars.interface_xpos; // - 35 + 5; } $(#footer_div).css({ left: footer_x //vars.interface_xpos + content_w - $(#footer_div).width() }); } else { $(#footer_div).css({ left: 0 }); } /*} else { vars.footer_top_goal vars.interface_ypos + content_padding * 2 + content_h; $(#doc_bg).height(content_h); $(#footer_div).css({ top: vars.footer_top_goal, left: vars.interface_xpos + content_w - $(#footer_div).width() }); }*/ } //position_home_featured(); //$(#footer_div).height(vars.footer_h); //SET SOCIAL ICONS position_icons(); } /script>!-- START SHOPPOING CART -->/head>body>div styledisplay:none; position:absolute>a hrefhttp://danielleeileenphotography.com/index.php#!/HOME>HOME/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/BIO>BIO/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/GALLERIES>GALLERIES/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/THE_DETAILS>THE DETAILS/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/CONTACT>CONTACT/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/TESTIMONIALS>TESTIMONIALS/a>br>/div>!-- DISPLAY WALL -->!-- div iddoc_bg styleborder:0px solid; position:absolute; background-color:#ffffff; visibility:hidden>/div> -->script typetext/javascript> //$(#doc_bg).data(opened, false);/script>!-- BACKGROUND -->!-- INVISIBLE SITE OBJ -->!-- div idinvis_site_div styleposition:absolute; visibility:hidden; display:none; border:0px solid> /div> --> div idsite_div styleposition:fixed; display:none; border:0px solid; border-right:0px solid; z-index:-1; padding-right:0px; padding-left:0px; background-color:#ffffff;> /div> script typetext/javascript> $(#site_div).data(opened, false); /script> div idfooter_div styleposition:absolute; margin:0 auto; visibility:hidden; vertical-align:middle; background-color:#ffffff; border-top:1px solid #c6c6c6; z-index:149998> !-- COPYRIGHT LINE --> div idcopyright_div styleposition:relative; text-align:left; padding-left:0px; padding-top:15px; padding-bottom:5px; > a classcopyright idcopyright hrefwww.danielleeileenphotography.com target_blank>images copyright © Danielle Eileen Photography 2020/a> /div> !-- SOCIAL LINK BTNS --> div idfooter_email_div styleposition:relative; text-align:left; padding-left:0px; padding-top:0px; padding-bottom:50px; > span classcopyright>EMAIL: /span>span classcopyright>a hrefmailto:danielle@danielleeileenphotography.com>danielle@danielleeileenphotography.com/a>/span> /div> div idfooter_border_div> /div> /div>script typetext/javascript> $(#footer_div).data(opened, false);/script>div idscroll_div styleposition:fixed; font-family:Cinzel, serif; padding-top:10px; z-index:900500; color:#000000; bottom:0;>/div>!-- CONTENT -->div idinterface_div stylevisibility:visible; position:absolute; border:0px solid; padding-top:0px; z-index:70950>div idpage styleborder:0px solid;>/div>!-- LOADER -->/div>!-- END CONTENT -->!--div idmenu_div styleposition:absolute>-->!--ul idmenu_ul stylefloat:left; list-style:none; >-->!--div idsubmenu_bg styleposition:absolute; visibility:hidden;>img idsubmenu_bg_img src />/div>--> div idmenu_bg_div styleposition:absolute;z-index:501; visibility:hidden; background:none; border-bottom:1px solid #c6c6c6 > /div> div idmenu_divider_holder styleposition:absolute>/div>div idmenu_btn_line classmenu_btn_line>/div>script typetext/javascript>$(#menu_bg).data(opened, false);$(#img_menu_btn_over).load(function(){ //alert($(#menu_btn_over).data(loaded)); $(#menu_btn_over).data(loaded, true);});function position_menu_btn_over(){ }function position_menu(type){ //POSITION MENU var logo_bg_h 0; //$(#logo_bg).height(); // $(#logo_div).data(h) + 30 * 4; //get menu width vars.menu_w 0; vars.menu2_w 0; var login_h 30; if($(#login_form_div).length) { login_h $(#login_form_div).height(); } if (vars.fonts_loaded){ var bg_h $(#menu_div).height() + (14); //if ($(#btn1).data(w) 0){ vars.btn_count2 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ vars.btn_count2++; $(#btn + i).data(w, $(#btn_div + i).width()); $(#btn + i).data(h, $(#btn_div + i).height()); $(#btn + i).data(w_scaled, $(#btn_div + i).width()); $(#btn + i).data(h_scaled, $(#btn_div + i).height()); } } //} vars.menu_w 0; vars.menu_h 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ if(vars.menu_position ! top && vars.menu_position ! top_above_logo) { if($(#btn + i).data(w) > vars.menu_w) { vars.menu_w $(#btn + i).data(w); } vars.menu_h + $(#btn + i).data(h) + 3 + 5 * 2; } else { //vars.menu_h $(#btn + 1).data(h); vars.menu_h 12 + 4; } //if (menu_arrayi.menu_group 1){ //if (i ! active_btn){ if(vars.menu_position top || vars.menu_position top_above_logo) { vars.menu_w + $(#btn + i).data(w); } //} else { // vars.menu_w + $(#btn + i).data(w_scaled); //} if (i vars.btn_count2 && vars.menu_position top){ //vars.menu_w + 15; } // } //else { //vars.menu2_w + $(#btn_div + i).width() + 15; //} } } if(vars.menu_position top) { //vars.menu_w - 15; } //vars.menu_xpos (win_w - vars.menu_w)/2; //alert(0 + + 30); //vars.menu_ypos $(#logo_div).data(h) + 0 + 45; vars.menu_ypos $(#logo_div).data(h) + vars.social_h + (content_padding * 2) + 10; if(vars.menu_position top) { vars.menu_ypos 10 + $(#logo_div).data(h) + logo_padding + 7; // - $(#menu_div).height() - ( 14) + 8; // + header_padding; } else if(vars.menu_position top_above_logo) { vars.menu_ypos 7; } var menu_max_w content_w - $(#logo_div).data(w) - 15 * 4; var this_menu_h 12 + 3 + 5 * 2; //alert(vars.menu_w + + content_w); if (vars.menu_w > content_w){ this_menu_h + 12 + 3 + 10; } if (!vars.mobile){ vars.site_icons_ypos vars.menu_ypos + 30 * 2 + this_menu_h - $(#favorites_btn).data(h)/2 - 4; } if(false) { //alert(menu_h); $(#menu_borders).width(content_w); $(#menu_borders).height(this_menu_h + 30 * 2 + 1 * 2); var border_x1 0; var border_x2 content_w; var border_y 1;//vars.menu_ypos; if (!$(#menu_borders).data(opened)){ var menu_borders Raphael(menu_borders); $(#menu_borders).data(opened, true); menu_borders.clear(); menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + 4; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + (this_menu_h + 30 * 2) - 4 * 2; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + 4; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); } $(#menu_borders).css({ top: vars.menu_ypos - 1, left: vars.interface_xpos }); } //if ($(#menu_div).width() > menu_max_w){ // $(#menu_div).width(menu_max_w); //} /*if (vars.logo_pos right || vars.logo_pos left){ vars.menu_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.menu_xpos vars.interface_xpos + (content_w - vars.menu_w)/2; }*/ vars.menu_xpos vars.interface_xpos; if (vars.menu_w > content_w){ vars.menu_w content_w; } if (vars.logo_pos center){ vars.menu_xpos (win_w - vars.menu_w)/2; } vars.menu_xpos vars.interface_xpos - vars.side_menu_w; // + 35; var menu_justification left; if(vars.menu_position right) { vars.menu_xpos vars.interface_xpos + content_w + 70; } else if(vars.menu_position top || vars.menu_position top_above_logo) { //vars.menu_xpos vars.interface_xpos + ((content_w - vars.menu_w) / 2); //((win_w - vars.menu_w) / 2); vars.menu_xpos vars.interface_xpos + ((content_w - vars.menu_w) / 2); //((win_w - vars.menu_w) / 2); if(menu_justification left) { vars.menu_xpos vars.interface_xpos; } else if (menu_justification right) { vars.menu_xpos vars.interface_xpos + content_w - vars.menu_w; //((win_w - vars.menu_w) / 2); } } var min_xpos vars.interface_xpos + $(#logo_div).width() + 30; if(vars.menu_xpos min_xpos) { //vars.menu_xpos min_xpos; } //vars.menu_xpos (win_w - $(#menu_div).width()) / 2; //if(vars.menu_position ! top && vars.menu_position ! top_above_logo) { //$(#menu_div).width(vars.menu_w); //} $(#menu_div).css({ top: vars.menu_ypos, left: vars.menu_xpos }); if(vars.menu_position top || vars.menu_position top_above_logo) { var ribbon_w 22 + 5; var menu_bg_style single_line; $(#menu_bg_div).height(bg_h); if(vars.menu_bg_type full_window) { var goal_w win_w - 70; var goal_left 35; if(menu_bg_style ribbons || menu_bg_style outer_arrows) { goal_w win_w - (ribbon_w * 2); goal_left ribbon_w } $(#menu_bg_div).width(goal_w); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: goal_left }); } else if(vars.menu_bg_type full) { var logo_pad 30; var goal_w content_w; // - $(#logo_div).width() - logo_pad; var goal_left vars.interface_xpos; // + $(#logo_div).width() + 30; if(menu_bg_style ribbons) { goal_w content_w - (ribbon_w * 2); goal_left vars.interface_xpos + ribbon_w } if( (menu_bg_style single_line || menu_bg_style double_line)) { //goal_w content_w + 70 - 10; //goal_left vars.interface_xpos - 35 + 5; } $(#menu_div).width(goal_w); $(#menu_bg_div).width(goal_w); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: goal_left }); } else { $(#menu_bg_div).width(vars.menu_w + (40 * 2)); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: vars.menu_xpos - 40 }); } if($(#menu_bg_top_line).length) { $(#menu_bg_top_line).css({ top:6, visibility:visible }); } if($(#menu_bg_bottom_line).length) { $(#menu_bg_bottom_line).css({ top:bg_h - 6, visibility:visible }); } if($(#menu_bg_arrow_right).length) { if(menu_bg_style inner_arrows || menu_bg_style inner_arrows_lines) { $(#menu_bg_arrow_right).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #ffffff, left:0 }); } else if(menu_bg_style outer_arrows) { $(#menu_bg_arrow_right).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #c6c6c6, left:$(#menu_bg_div).width() }); } } if($(#menu_bg_arrow_left).length) { if(menu_bg_style inner_arrows || menu_bg_style inner_arrows_lines) { $(#menu_bg_arrow_left).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #ffffff, left:$(#menu_bg_div).width() - 22 }); } else if(menu_bg_style outer_arrows) { $(#menu_bg_arrow_left).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #c6c6c6, left:-22 }); } } if($(#menu_bg_ribbon_bg_left).length) { $(#menu_bg_ribbon_bg_left).width(ribbon_w); $(#menu_bg_ribbon_bg_left).height(bg_h); $(#menu_bg_ribbon_bg_left).css({ top: 6, left: -22 - 8, visibility: visible }); $(#menu_bg_ribbon_arrow_left).css({ border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #ffffff, left:0 }); } if($(#menu_bg_ribbon_bg_right).length) { $(#menu_bg_ribbon_bg_right).width(ribbon_w); $(#menu_bg_ribbon_bg_right).height(bg_h); $(#menu_bg_ribbon_bg_right).css({ top: 6, left: $(#menu_bg_div).width() + 3, visibility: visible }); $(#menu_bg_ribbon_arrow_right).css({ border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #ffffff, left: 5 }); } } //var menu_max_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); var btn_no 0; var divider_no 0; var max_btn_w 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ btn_no++; if ($(#btn_div + i).width() > max_btn_w){ max_btn_w $(#btn_div + i).width(); } //vars.menu_xpos + $(#btn + i).data(w) + 15; //vars.menu_ypos + $(#btn + i).data(h) + 3; } } vars.menu_logo_w vars.menu_xpos - vars.interface_xpos + 100; //alert(vars.menu_logo_w + + content_w); if ($(#btn1).data(w) > 0){ for (i1; ibtn_count; i++){ if (menu_arrayi.visible){ if ((active_btn > 0 || active_sec fav_gallery || active_sec cart || active_sec profile) && vars.fonts_loaded && !$(#btn_div + i).data(opened) && $(#btn_div + i).data(show)){ $(#btn_div + i).css({ display: none, visibility: visible }); //var type menu_arrayi.type; //if(type proof && vars.proof_status ! logged) { //} else { $(#menu_btn_underline + i).width(vars.side_menu_w - 70); if(vars.menu_position right) { $(#btn_div + i).width(vars.side_menu_w - 70); } $(#btn_div + i).fadeIn(vars.entry_animation_speed); $(#btn_div + i).data(opened, true); if(!$(#menu_btn_underline + i).data(opened) && i btn_count) { $(#menu_btn_underline + i).css({ display: block, visibility: visible }); $(#menu_btn_underline + i).fadeIn(); $(#menu_btn_underline + i).data(opened, true); } //position_menu(); if (i btn_count){ if ($(#menu_btn_over).length){ if (!$(#menu_btn_over).data(opened)){ position_menu_btn_over(); $(#menu_btn_over).data(opened, true); $(.btn_bullet).css({ visibility:visible }); } } if (!$(#login_form_div).data(opened) & false){ //if (!vars.mobile){ $(#login_form_div).css({ display: none, visibility: visible }); $(#login_form_div).data(opened, true); $(#login_form_div).fadeIn(fast); //} } if (!$(#menu_div).data(opened)){ $(#menu_div).css({ display: none, visibility: visible }); $(#menu_div).data(opened, true); $(#menu_div).fadeIn(fast); } } } } } } position_menu_btn_over(); }}$(window).resize(function(){ position_menu_btn_over();});/script>span idmenu_div classmenu_div stylez-index:502; position:absolute> !--div idbtn_bg1 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div1 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn1>HOME/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet1 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div1).data(show, true); /script> !--div idbtn_bg2 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div2 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn2>BIO/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet2 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div2).data(show, true); /script> !--div idbtn_bg3 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div3 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn3>GALLERIES/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet3 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div3).data(show, true); /script> !--div idbtn_bg4 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div4 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn4>THE DETAILS/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet4 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div4).data(show, true); /script> !--div idbtn_bg5 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div5 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn5>CONTACT/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet5 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div5).data(show, true); /script> !--div idbtn_bg6 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div6 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn6>TESTIMONIALS/span>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div6).data(show, true); /script> /span> !--/ul>-->!--/div>-->!-- DISPLAY TEXT SECTION INFO --> div idinvis_url6_232 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id232/div> div idinvis_rel6_232 styleposition:absolute; display:none>6//232/div> div idinvis_meta6_232 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_218 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id218/div> div idinvis_rel6_218 styleposition:absolute; display:none>6//218/div> div idinvis_meta6_218 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_219 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id219/div> div idinvis_rel6_219 styleposition:absolute; display:none>6//219/div> div idinvis_meta6_219 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_220 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id220/div> div idinvis_rel6_220 styleposition:absolute; display:none>6//220/div> div idinvis_meta6_220 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url7_239 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn7&order_num&text_sub_type&sec_id384&text_id239/div> div idinvis_rel7_239 styleposition:absolute; display:none>7//239/div> div idinvis_meta7_239 styleposition:absolute; display:none>mini sessions/div> !-- DISPLAY FEATURED GALLERIES INFO --> div idfeatured_name3_176 styleposition:absolute; display:none>Family Portraits/div> div idfeatured_url3_176 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id176&gal_type&gal_nameFamily+Portraits/div> div idfeatured_rel3_176 styleposition:absolute; display:none>3/featured/Family_Portraits/176/div> div idfeatured_meta3_176 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_176_1 styleposition:absolute; display:none>none/div> div idsong_id3_176_2 styleposition:absolute; display:none>none/div> div idsong_id3_176_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_179 styleposition:absolute; display:none>Maternity & Newborn/div> div idfeatured_url3_179 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id179&gal_type&gal_nameMaternity+%26amp%3B+Newborn/div> div idfeatured_rel3_179 styleposition:absolute; display:none>3/featured/Maternity__amp;_Newborn/179/div> div idfeatured_meta3_179 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_179_1 styleposition:absolute; display:none>none/div> div idsong_id3_179_2 styleposition:absolute; display:none>none/div> div idsong_id3_179_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_180 styleposition:absolute; display:none>Children's Portraits/div> div idfeatured_url3_180 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id180&gal_type&gal_nameChildren%26%23039%3Bs+Portraits/div> div idfeatured_rel3_180 styleposition:absolute; display:none>3/featured/Children__039;s_Portraits/180/div> div idfeatured_meta3_180 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_180_1 styleposition:absolute; display:none>none/div> div idsong_id3_180_2 styleposition:absolute; display:none>none/div> div idsong_id3_180_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_181 styleposition:absolute; display:none>Seniors & Headshots/div> div idfeatured_url3_181 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id181&gal_type&gal_nameSeniors+%26amp%3B+Headshots/div> div idfeatured_rel3_181 styleposition:absolute; display:none>3/featured/Seniors__amp;_Headshots/181/div> div idfeatured_meta3_181 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_181_1 styleposition:absolute; display:none>none/div> div idsong_id3_181_2 styleposition:absolute; display:none>none/div> div idsong_id3_181_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_183 styleposition:absolute; display:none>Engagements/div> div idfeatured_url3_183 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id183&gal_type&gal_nameEngagements/div> div idfeatured_rel3_183 styleposition:absolute; display:none>3/featured/Engagements/183/div> div idfeatured_meta3_183 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_183_1 styleposition:absolute; display:none>none/div> div idsong_id3_183_2 styleposition:absolute; display:none>none/div> div idsong_id3_183_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_182 styleposition:absolute; display:none>Weddings/div> div idfeatured_url3_182 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id182&gal_type&gal_nameWeddings/div> div idfeatured_rel3_182 styleposition:absolute; display:none>3/featured/Weddings/182/div> div idfeatured_meta3_182 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_182_1 styleposition:absolute; display:none>none/div> div idsong_id3_182_2 styleposition:absolute; display:none>none/div> div idsong_id3_182_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_190 styleposition:absolute; display:none>Christmas/Holiday/div> div idfeatured_url8_190 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id190&gal_type&gal_nameChristmas%2FHoliday/div> div idfeatured_rel8_190 styleposition:absolute; display:none>8/featured/Christmas_Holiday/190/div> div idfeatured_meta8_190 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_190_1 styleposition:absolute; display:none>none/div> div idsong_id8_190_2 styleposition:absolute; display:none>none/div> div idsong_id8_190_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_189 styleposition:absolute; display:none>Easter/div> div idfeatured_url8_189 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id189&gal_type&gal_nameEaster/div> div idfeatured_rel8_189 styleposition:absolute; display:none>8/featured/Easter/189/div> div idfeatured_meta8_189 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_189_1 styleposition:absolute; display:none>none/div> div idsong_id8_189_2 styleposition:absolute; display:none>none/div> div idsong_id8_189_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_193 styleposition:absolute; display:none>Valentine's Day/div> div idfeatured_url8_193 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id193&gal_type&gal_nameValentine%26%23039%3Bs+Day/div> div idfeatured_rel8_193 styleposition:absolute; display:none>8/featured/Valentine__039;s_Day/193/div> div idfeatured_meta8_193 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_193_1 styleposition:absolute; display:none>none/div> div idsong_id8_193_2 styleposition:absolute; display:none>none/div> div idsong_id8_193_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_188 styleposition:absolute; display:none>Mommy & Me/div> div idfeatured_url8_188 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id188&gal_type&gal_nameMommy+%26amp%3B+Me/div> div idfeatured_rel8_188 styleposition:absolute; display:none>8/featured/Mommy__amp;_Me/188/div> div idfeatured_meta8_188 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_188_1 styleposition:absolute; display:none>none/div> div idsong_id8_188_2 styleposition:absolute; display:none>none/div> div idsong_id8_188_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_195 styleposition:absolute; display:none>Daddy & Me/div> div idfeatured_url8_195 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id195&gal_type&gal_nameDaddy+%26amp%3B+Me/div> div idfeatured_rel8_195 styleposition:absolute; display:none>8/featured/Daddy__amp;_Me/195/div> div idfeatured_meta8_195 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_195_1 styleposition:absolute; display:none>none/div> div idsong_id8_195_2 styleposition:absolute; display:none>none/div> div idsong_id8_195_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_187 styleposition:absolute; display:none>Fairy Princess/div> div idfeatured_url8_187 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id187&gal_type&gal_nameFairy+Princess/div> div idfeatured_rel8_187 styleposition:absolute; display:none>8/featured/Fairy_Princess/187/div> div idfeatured_meta8_187 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_187_1 styleposition:absolute; display:none>none/div> div idsong_id8_187_2 styleposition:absolute; display:none>none/div> div idsong_id8_187_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_192 styleposition:absolute; display:none>Lemonade/Watermelon Sessions/div> div idfeatured_url8_192 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id192&gal_type&gal_nameLemonade%2FWatermelon+Sessions/div> div idfeatured_rel8_192 styleposition:absolute; display:none>8/featured/Lemonade_Watermelon_Sessions/192/div> div idfeatured_meta8_192 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_192_1 styleposition:absolute; display:none>none/div> div idsong_id8_192_2 styleposition:absolute; display:none>none/div> div idsong_id8_192_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_194 styleposition:absolute; display:none>Fun with Paint/div> div idfeatured_url8_194 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id194&gal_type&gal_nameFun+with+Paint/div> div idfeatured_rel8_194 styleposition:absolute; display:none>8/featured/Fun_with_Paint/194/div> div idfeatured_meta8_194 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_194_1 styleposition:absolute; display:none>none/div> div idsong_id8_194_2 styleposition:absolute; display:none>none/div> div idsong_id8_194_3 styleposition:absolute; display:none>none/div> !-- END DISPLAY FEATURED GALLERIES INFO -->!-- DISPLAY VIDEO GALLERIES INFO -->!-- END DISPLAY VIDEO GALLERIES INFO -->div idspinner styleposition:absolute; visibility:hidden>/div>!-- FACEBOOK LIKE WINDOW -->div idfb_div styleposition:absolute; display:none; background-color:#;z-index:1014> div idfb_close_btn classfb_close_btn onclickcloseLikeBox()>x /div> /div>!--div idscroll_msg classscroll_msg>scroll down for more/div>-->div idedit_pricing_bg_div styledisplay:none; position:fixed; z-index:1100000; background-color:#000000; cursor:pointer; onclickbluCartHideUpdate()>/div>div idedit_pricing_div styleposition:fixed; visibility:hidden; display:none; background-color:#ffffff; border:1px solid #; padding:0px; z-index:1100001; width:px;> div classblu_container> div idsignin_close_btn classimg_close_btn stylefloat:right; padding-top:5px; padding-right:12px; color:#666666 onclickbluCartHideUpdate();>×/div> /div> div idedit_pricing_holder stylecolor:#000000; padding:10px>/div>/div>!-- WATERMARK -->!-- BACK BTN -->div idback_btn classslideshow_btn styleposition:absolute;>back to galleries/div>script>$(#back_btn).click(function() { $.address.path(active_btn + /proof_preview/); });/script>!-- END BACK BTN -->!-- SLIDESHOW BTN -->div idslideshow_btn classslideshow_btn styleposition:fixed; >STOP SLIDESHOW/div>script> $(#slideshow_btn).click(function() { toggle_slideshow(); });/script>!-- END SLIDESHOW BTN -->div idcheck_div styleposition:absolute; z-index:5000; border: 0px solid;>/div>!-- CONTACT SECTION -->div idpopup_sec_div styleposition:absolute; display:none>/div> !-- back to top button -->script> $(#back_to_top).data(opened, false); $(#back_to_top).click(function(){ $(this).fadeOut(); window.scrollTo(0, 0); });/script> !-- END MUSIC PLAYER --> !-- SOCIAL LINK BTNS --> div idsocial_buttons styleposition:absolute; display:none; visibility:hidden; z-index:150001; background:none; padding-left:5px; padding-right:5px> !--span classsocial_btn>--> !-- a hrefhttp://www.facebook.com/danielleeileenphotography target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn1 srcblu_front/ANJA/v1site_images/icons/icon-facebook-20.png onmouseoverdisplaySocialPopup(1) onmouseouthideSocialPopup(1) onclickgoToSocialLink(http://www.facebook.com/danielleeileenphotography) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn1).data(w, 22); $(#social_btn1).data(h, 22); /script> div idsocial_popup1 classsocial_msg stylez-index:1018>/div> !--span classsocial_btn>--> !-- a hrefhttp://pinterest.com/dephotography09 target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn2 srcblu_front/ANJA/v1site_images/icons/icon-pinterest-20.png onmouseoverdisplaySocialPopup(2) onmouseouthideSocialPopup(2) onclickgoToSocialLink(http://pinterest.com/dephotography09) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn2).data(w, 22); $(#social_btn2).data(h, 22); /script> div idsocial_popup2 classsocial_msg stylez-index:1018>/div> !--span classsocial_btn>--> !-- a hrefhttp://instagram.com/danielleeileenphotography target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn3 srcblu_front/ANJA/v1site_images/icons/icon-instagram-20.png onmouseoverdisplaySocialPopup(3) onmouseouthideSocialPopup(3) onclickgoToSocialLink(http://instagram.com/danielleeileenphotography) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn3).data(w, 22); $(#social_btn3).data(h, 22); /script> div idsocial_popup3 classsocial_msg stylez-index:1018>/div> /div> script>function displaySocialPopup(num){ if ($(#social_popup + num).html() ! ){ var top $(#social_btn + num).position().top - $(#social_popup + num).height() - 5; var left $(#social_btn + num).position().left - $(#social_popup + num).width() + $(#social_btn + num).width(); $(divid*social_popup).each(function(){ $(this).css({ display: none }) }); $(#social_popup + num).css({ top: top, left: left, display: none, visibility: visible }); //$(#social_popup + num).fadeIn(); /* setTimeout(function(){ hideSocialPopup(num); }, 2000);*/ }}function hideSocialPopup(num){ if ($(#social_popup + num).html() ! ){ $(#social_popup + num).css({ display: none }); }}function goToSocialLink(url){ window.open(url, _blank);}function positionSocialLinks(){ var left 0; var top 0; vars.social_h 0; for (var i1; i3; i++){ if (!vars.mobile){ $(#social_btn + i).css({ left:left }); } //alert($(#social_btn + i).data(w)); left + $(#social_btn + i).data(w) + 7; //top + $(#social_btn + i).data(h) + 7; if ($(#social_btn + i).data(h) > vars.social_h){ vars.social_h $(#social_btn + i).data(h); } //vars.social_h + $(#social_btn + i).data(h) + 7; } //debug($(#social_lbl).outerHeight()); vars.social_h + $(#social_lbl).outerHeight() + 5; vars.social_w left - 7; //debug(vars.social_w); }positionSocialLinks();/script> !-- END SOCIAL LINK BTNS -->!-- CONTACT SECTION -->div idpopup_sec_div styleposition:absolute; z-index:6500>/div>!-- LOADER -->div idloader_div styledisplay:none>/div>!-- SHOPPING CART -->!-- LOGO -->div idlogo_div classlogo styleposition:absolute; visibility:hidden; text-align:; padding-bottom:0px; border:0px solid; z-index:150002;> img idlogo_div_img src height67 styleborder:0px solid/> link relimage_src typeimage/jpeg hrefblu_front/ANJA/v1site_images/logos/grayLogo.png />/div>script> $(#logo_div).data(loaded, false); $(#logo_div_img).attr(src, blu_front/ANJA/v1site_images/logos/grayLogo.png); $(#logo_div_img).load(function(){ $(#logo_div).data(loaded, true); }); $(#logo_div).data(w, 200); $(#logo_div).data(h, 67); /script>!-- LOAD FONTS -->script typetext/javascript> $(#logo_div).data(opened, false); /script> !-- END LOAD FONTS -->!-- END LOGO -->div idpopup_login_bg_div styledisplay:none; position:absolute; z-index:150202; background-color:#000000; cursor:pointer; onclickbluShowHideMasterLogin()>/div> div idpopup_login_form_div styleposition:fixed; display:none; background-color:#ffffff; border:1px solid #000000; ; z-index:150203; padding:0px> div classblu_container stylepadding-top:10px; padding-right:10px> div idsignin_close_btn classimg_close_btn stylefloat:right; padding-top:0px; padding-right:10px; color:#000000 onclickbluShowHideMasterLogin();>×/div> /div> div stylepadding-left:50px; padding-right:50px; padding-bottom:50px;> div idproof_login_logo_div styletext-align:center; width:100%; padding-left:0px;> img idlogin_logo_div_img srcblu_front/ANJA/v1site_images/logos/grayLogo.png?var0.62897000 1736159549 height67 styleborder:0px solid; max-width:250px;/> /div> div idproof_hline1 styleheight:2px; border-bottom:1px solid #c6c6c6; margin-top:10px; width:80%; margin:0 auto;>/div> div classtitle stylewidth:100%; padding:0px; margin:0px; text-align:center; border:0px solid; position:relative; padding-top:20px>/div> div idproof_login_content_div> table cellpadding0 cellspacing0 > tr>td>br />/td>/tr> tr> td classcontact_field_label> /td> /tr> tr>td>br />/td>/tr> tr> td classcontact_field_label> Enter the gallery password: /td> /tr> tr>td>br />/td>/tr> tr> td valigntop alignleft > form idpopup_proof_login onsubmitreturn false;> table cellpadding0 cellspacing0 border0> tr> td >input classcontact_field_popup typepassword idpopup_proof_pass namepass size37 value>/td> /tr> tr> td alignright colspan2> input typehidden namesec_id value> input typehidden nameactive_btn idactive_btn value> input typehidden namepass_lbl idpass_lbl valueenter password> input stylepadding-top:2px; idpopup_submit_form_btn typebutton namesubmit valueSUBMIT classlogin_submit onclickprocess_proof_login(blu_front/ANJA//blu_source/proof_login_profile.php, true)> /td> /tr> tr> td colspan2 idpopup_login_error_msg classerror_msg>/td> /tr> /table> /form> script> $(#active_btn).val(active_btn); $(#popup_proof_login).bind(keypress, function(e){ if ( e.keyCode 13 ) { // alert(ENTER); process_proof_login(blu_front/ANJA//blu_source/proof_login_profile.php, true); //$( this ).find( inputtypesubmit:first ).click(); } }); /script> /td> /tr> tr>td idproof_hline2 styleheight:2px; padding-top:10px>/td>/tr> tr>td>br />/td>/tr> tr>td>br />/td>/tr> tr> td classcontact_field_label width250> span stylecolor:#9ba019>NOTE:/span> To view your gallery, please enter the password given to you in the field below. /td> /tr> /table> /div> /div> /div>/div>script languagejavascript typetext/javascript>$(#popup_login_form_div).data(opened, false);/script>!-- END PROOFING LOGIN FORM -->!-- START CONTACT POPUP -->div idpopup_contact_bg_div styledisplay:none; position:fixed; z-index:150204; background-color:#000000; cursor:pointer; onclickbluShowHideContact()>/div> div idpopup_contact_div styleposition:fixed; display:none; background-color:#ffffff; border:1px solid #000000; z-index:150205;> div classblu_container stylepadding-top:10px; padding-right:10px> div idcontact_close_btn classimg_close_btn stylefloat:right; padding-top:5px; padding-right:12px; color:#666666 onclickbluShowHideContact();>×/div> /div> div stylepadding:50;> div idcontact_logo_div styletext-align:center; width:100%;> img idcontact_logo_div_img srcblu_front/ANJA/v1site_images/logos/grayLogo.png?var0.62899600 1736159549 height67 styleborder:0px solid; max-width:250px;/> /div> div idcontact_hline1 styleheight:2px; border-bottom:1px solid #c6c6c6; margin-top:10px; width:80%; margin:0 auto;>/div> div idcontact_content_div> /div> /div> /div>/div>script languagejavascript typetext/javascript>$(#popup_contact_div).data(opened, false);$(#popup_contact_div).data(loaded, false);/script>!-- END CONTACT POPUP -->script typetext/javascript src//assets.pinterest.com/js/pinit.js>/script>script typetext/javascript> // //SET MENU var btn_color; for (var i1; ibtn_count; i++){ menu_arrayi.btn_w $(#btn_div + i).width() + menu_btn_hpad * 2; menu_arrayi.btn_h $(#btn_div + i).height(); $(#btn_divider + i).data(opened, false); $(#btn_div + i).data(opened, false); $(#btn + i).data(btn_no, i); $(#btn + i).data(enabled, true); $(#btn + i).data(w, 0); $(#btn + i).data(h, 0); //alert($(#btn + i).data(w) + + $(#btn + i).data(w_scaled)); if (menu_arrayi.menu_group 2){ btn_color #; } else { btn_color #000000; } $(#btn + i).data(color, btn_color); // alert(menu_arrayi.menu_group); if (!vars.ipad && !vars.mobile){ $(#btn + i).mouseover(function() { var btn_no $(this).data(btn_no); if (btn_no ! active_btn){ $(this).css({ color: # + vars.curr_color }); } }); $(#btn + i).mouseout(function() { var btn_no $(this).data(btn_no); //if (btn_no ! active_btn && menu_arraybtn_no.subtype ! drop-down){ if (btn_no ! active_btn){ $(this).css({ color: $(this).data(color) }); } //} }); } $(#btn + i).click(function() { var btn_no $(this).data(btn_no); //$(#menu_btn_over).fadeTo(0, 0); //$(#btn + i).width($(#btn + i).data(w) + 20); //$(.menu_btn).css(font-size, 100%); //$(#btn + btn_no).animate(font-size, 140%, ); /*$(#menu_btn_over).css({ top: $(#btn_div + btn_no).position().top + $(#btn_div + btn_no).height(), left: $(#btn_div + btn_no).position().left + 16, display: none, visibility: visible }); $(#menu_btn_over).fadeIn();*/ if ($(this).data(enabled) && menu_arraybtn_no.subtype ! drop-down){ //close_cart(); if ($(this).data(enabled)){ if (vars.mobile){ $(#menu_main_btn_div).data(opened, false); } if (menu_arraybtn_no.type ! external link /* && menu_arraybtn_no.type ! proof && menu_arraybtn_no.type ! contact*/){ active_btn btn_no; position_menu_btn_over(); //position_menu(click); //reset btns over state and submenus $(#popup_sec_div).empty(); $(#popup_login_form_div).fadeOut(0); $(#popup_login_bg_div).fadeOut(0); $(#popup_login_form_div).data(opened, false); $(#popup_contact_div).fadeOut(0); $(#contact_content_div).empty(); $(#popup_contact_bg_div).fadeOut(0); $(#popup_contact_div).data(opened, false); $(#signin_bg_div).fadeOut(0); $(#signin_div).fadeOut(0); for (var k1; kbtn_count; k++){ if (k ! active_btn){ $(#btn + k).css({ color: $(#btn + k).data(color) }); /*if ($(#btn_bullet + k).length){ $(#btn_bullet + k).css({ //display: none, visibility: hidden }); }*/ //close subbuttons if (menu_arrayk.subtype drop-down){ $(spanid*subbtn + k + ).css({ //color: #000000 }); } else { vars.sec_id 0; } } else { $(#btn + k).css({ //color: # + vars.curr_color }); } } //close_submenu(); if (menu_arraybtn_no.type proof && false){ //alert(vars.proof_logged + + vars.profile_logged + + vars.profile_gal_count); if(vars.proof_logged || (vars.profile_logged && vars.profile_gal_count > 0)) { if (vars.profile_logged && vars.profile_gal_count > 0){ vars.proof_id ; } process_proof_login(blu_front/ANJA/blu_source/proof_login_profile.php); } else { //bluShowHideMasterLogin(); $.address.path(menu_arrayactive_btn.rel); } } else { $.address.path(menu_arrayactive_btn.rel); } } else if (menu_arraybtn_no.type proof){ if (vars.mobile){ close_menu(); if ($(#popup_contact_div).data(opened)){ bluShowHideContact(); } } if (vars.proof_logged || (vars.profile_logged && vars.profile_gal_count > 0)) { if (vars.profile_logged && vars.profile_gal_count > 0){ vars.proof_id ; } process_proof_login(blu_front/ANJA/blu_source/proof_login_profile.php); } else { $.address.path(menu_arrayactive_btn.rel); //bluShowHideMasterLogin(); } } else if (menu_arraybtn_no.type contact && 1 && false){ if (vars.mobile){ close_menu(); } bluShowHideContact(); } else { //open external link if (menu_arraybtn_no.link_target _parent){ window.location.href menu_arraybtn_no.url_link; } else { window.open(menu_arraybtn_no.url_link); } } //end if external } } /*$(#btn + btn_no).animate({ font-size: 150% },fast, easeOutQuart ); */ }); //end on click } function open_site() { if(vars.site_opened false) { if ($(#logo_div).data(loaded) && !$(#logo_div).data(opened) && (vars.logo_xpos > 0 || vars.mobile) || true){ $(#logo_div).data(opened, true); $(#logo_div).css({ display: none, visibility: visible }); $(#logo_div).fadeIn(vars.entry_animation_speed); if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(vars.entry_animation_speed); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ top: vars.site_icons_ypos - 2, display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(vars.entry_animation_speed, function(){ bluSetLoginBtn(); }); } if ($(#footer_div).length){ if (!$(#footer_div).data(opened)){ //$(#footer_div).height(win_h); $(#footer_div).data(opened, true); $(#footer_div).css({ display: none, visibility: visible }); $(#footer_div).fadeIn(vars.entry_animation_speed); /*$(#footer_div).animate({ height: vpadding + 180 },slow, easeOutQuart);*/ } } if (!$(#menu_bg_div).data(opened)){ //if (!vars.mobile){ $(#menu_bg_div).css({ display: none, visibility: visible }); $(#menu_bg_div).data(opened, true); $(#menu_bg_div).fadeIn(vars.entry_animation_speed); //} } } vars.site_opened true; } } function bluOpenCart(){ if (!vars.profile_logged){ bluShowSignIn(); } else { $(#popup_sec_div).empty(); $(#watermark).fadeTo(0, 0); for (var k1; kbtn_count; k++){ $(#btn + k).css({ color: $(#btn + k).data(color) }); vars.sec_id 0; active_btn cart; $.address.path(cart); } } } // //SET SUBMENUS for (var i1; ibtn_count; i++){ if ($(#submenu + i).length){ $(#submenu + i).data(first_id, $(#subbtn + i + _first).html()); if ($(#submenu_table + i).width() $(#btn + i).width()){ $(#submenu_table + i).width($(#btn + i).width() - menu_btn_hpad); } } } $(spanid*subbtn).mouseover(function() { var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; //cancel_close_submenu(); $(this).animate({ color: # + vars.curr_color }, fast); }); $(spanid*subbtn).mouseout(function() { var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; //delay_close_submenu(this_id); if (vars.sec_id ! this_sec_id){ $(this).animate({ color: #ffffff }, fast); } }); $(spanid*subbtn).click(function() { //reset other submenu btns var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; active_btn this_id; vars.sec_id this_sec_id; $(#menu_btn_over).fadeTo(0, 0); $(spanid*subbtn).each(function(){ var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; if (vars.sec_id ! this_sec_id){ $(this).css({ //backgroundColor: #ffffff, color: #ffffff }); } }); //set over graphic //$(#img_menu_btn_over).width($(#btn_div + active_btn).width() + 10 * 2); // $(#img_menu_btn_over).height($(#btn_div + active_btn).height() + 5 * 2); /*$(#menu_btn_over).css({ top: $(#btn_div + active_btn).position().top + $(#btn_div + active_btn).height(), left: $(#btn_div + active_btn).position().left, display: none, visibility: visible }); $(#menu_btn_over).fadeIn(); */ position_menu_btn_over(); position_menu(click); //reset btns over state and submenus for (var k1; kbtn_count; k++){ if (k ! active_btn){ //$(#btn_bg + k).fadeOut(); $(#btn_div + k).find(a).animate({ //backgroundColor: #ffffff, color: #000000//$(#btn_div + k).data(color) }, 200); $(#btn_div + k).find(span).animate({ //backgroundColor: #ffffff, color: #000000//$(#btn_div + k).data(color) }, 200); //close subbuttons if (menu_arrayk.subtype drop-down){ //$(divid*subbtn_div + k + ).fadeOut(); $(spanid*subbtn + k + ).css({ //backgroundColor: # + vars.curr_color, color: #ffffff }); } else { vars.sec_id 0; } } } //delay_close_submenu(this_id); var rel escape($(#invis_rel + active_btn + _ + this_sec_id).html()); $.address.path(rel); if (vars.ipad || vars.mobile){ $(ulid*submenu + active_btn + ).fadeOut(); } }); function soundPlayNext(){ sound_vars.song_no++; if (sound_vars.song_no > sound_vars.jukebox_count){ if (sound_vars.loop yes){ sound_vars.song_no 1; } else { sound_vars.song_no 0; } } soundManager.createSound({ id:song + sound_vars.song_no, url: blu_front/ANJA/music/sound + jukebox_arraysound_vars.song_no.id + .mp3, onfinish: soundPlayNext }); soundManager.play(song + sound_vars.song_no); } function soundGalPlayNext(){ soundManager.destroySound(song + sound_vars.song_no); sound_vars.song_no++; if (sound_vars.song_no > 3){ sound_vars.song_no 1; } soundManager.createSound({ id:song + sound_vars.song_no, url: blu_front/ANJA/music/sound + $(#song_id + active_btn + _ + vars.sec_id + _ + sound_vars.song_no).html() + .mp3, onfinish: soundGalPlayNext }); soundManager.play(song + sound_vars.song_no); } function resize_image(type){ // //set image 1 size vars.img1_w image_arrayvars.curr_img.img1_w; vars.img1_h image_arrayvars.curr_img.img_h; vars.img1_r vars.img1_w/vars.img1_h; if (vars.img1_w > vars.max_img_w){ vars.img1_w vars.max_img_w; vars.img1_h vars.img1_w/vars.img1_r; } if (active_sec ! home){ if (vars.img1_h > content_h){ vars.img1_h content_h; vars.img1_w vars.img1_h*vars.img1_r; } } else { if (vars.img1_h > content_h){ vars.img1_h content_h; vars.img1_w vars.img1_h*vars.img1_r; } } //alert(vars.img1_h + + vars.max_img_h); vars.total_w vars.img1_w; //$(#content).width(vars.text_content_w - vars.total_w - content_padding - 100); if (active_sec home){ //position_home_parag(); } vars.home_content_padding vars.text_content_w - vars.total_w - content_padding - vars.home_content_w; //alert(vars.text_content_w + + vars.total_w + + vars.home_content_w); $(#content).css({ padding-right:vars.home_content_padding }); // //position image 1 if (type new){ $(#img1_div + vars.curr_img).css({ visibility: hidden, display: }); } $(#img1_div + vars.curr_img).width(vars.total_w - 30); $(#img1_ + vars.curr_img).height(vars.img1_h); $(#img1_ + vars.curr_img).width(vars.img1_w); if ($(#dummy1_div + vars.curr_img).length){ $(#dummy1_div + vars.curr_img).width(vars.total_w); $(#dummy1_div + vars.curr_img).height(vars.img1_h); } if ($(#watermark + vars.curr_img).length){ $(#watermark + vars.curr_img).css({ marginTop: ($(#dummy1_div + vars.curr_img).height() - $(#watermark + vars.curr_img).height())/2 }); } if ($(#img_border + vars.curr_img).length){ $(#img_border + vars.curr_img).width(vars.total_w - 8 * 2 - 2); $(#img_border + vars.curr_img).height(vars.img1_h - 8 * 2 - 2); } if (type new || type resize){ if (active_sec home){// && vars.home_display slide){ //alert(image_arrayvars.curr_img.tag_pos); if (image_arrayvars.curr_img.img_has_text && !vars.mobile){ if (image_arrayvars.curr_img.tag_pos left){ vars.goal_x (content_w - vars.total_w - img_fr_w*2); } else { vars.goal_x 0; } } else { vars.goal_x (vars.text_content_w - vars.total_w - img_fr_w*2)/2; } var img_x vars.goal_x; } else if (vars.gallery_view slideshow && active_sec ! home){ //var img_x (content_w - vars.total_w - img_fr_w*2 + 0)/2; var img_x content_w - vars.max_img_w + (vars.max_img_w - vars.total_w - img_fr_w*2)/2; //alert(vars.max_img_w + + vars.total_w); vars.goal_x img_x; } else { var img_x (content_w - vars.total_w - img_fr_w*2)/2; vars.goal_x img_x; } var img1_x img_x; if (vars.mobile){ var img_y 0; if (active_sec ! home){ img_y + 40 + content_padding * 2; } } else { var img_y 0;//(content_h - vars.img1_h)/2; if (active_sec ! home){ img_y + + content_padding; } } if (type new){ $(#img1_div + vars.curr_img).css({ display: none, visibility: visible }); $(#img_border + vars.curr_img).css({ display: none, visibility: visible }); } $(#img1_div + vars.curr_img).css({ top: img_y, left: img_x }); $(#img_border + vars.curr_img).css({ top: img_y + 8, left: img_x + 8 }); } //position image text btn if (type ! blog){ if (vars.mobile){ var btn_x img1_x + vars.total_w + img_fr_w*2 -30 - 10; var btn_y img_y + vars.max_img_h + 25;//content_padding + 30;//img_y + vars.img1_h - 30; } else { var btn_x img1_x - 30;// + vars.total_w + img_fr_w*2;// -30 - 50; var btn_y img_y + vars.img1_h - 30;//content_padding + 30;//img_y + vars.img1_h - 30; } //position favorites btn if ($(#add_to_fav_btn + vars.curr_img).length){ //btn_x - $(#add_to_fav_btn + vars.curr_img).width(); $(#add_to_fav_btn + vars.curr_img).css({ top: btn_y, left: btn_x + 5 }); } if ($(#add_to_fav_btn + vars.curr_img).length){ //btn_y + $(#add_to_fav_btn + vars.curr_img).height();//; } //position delete fav btn if ($(#delete_fav_btn + vars.curr_img).length){ $(#delete_fav_btn + vars.curr_img).css({ top: btn_y, left: btn_x + 5 }); } if ($(#delete_fav_btn + vars.curr_img).length){ //btn_y + $(#delete_fav_btn + vars.curr_img).height();; } //position cart btn if ($(#img_cart_btn + vars.curr_img).length){ btn_y - $(#img_cart_btn + vars.curr_img).height(); $(#img_cart_btn + vars.curr_img).css({ top: btn_y, left: btn_x }); //btn_y + $(#img_cart_btn + vars.curr_img).height(); } //position info btn if ($(#img_text_btn + vars.curr_img).length){ if (vars.mobile){ btn_x - 30; btn_y - 5; } else { btn_y - 30; } $(#img_text_btn + vars.curr_img).css({ top: btn_y, left: btn_x }); } //position img close btn if (vars.gallery_view thumbs_only){ if (vars.mobile){ $(#img_close_btn + vars.curr_img).css({ top: img_y - content_padding, left: img1_x + vars.total_w - 25 }); } else { $(#img_close_btn + vars.curr_img).css({ top: content_padding * 2 + 30, left: img1_x + vars.total_w + img_fr_w * 2// - $(#img_close_btn + vars.curr_img).width() }); } } //position img info if (active_sec ! home){ //if (vars.mobile){ var max_text_w vars.total_w; //} else { //var max_text_w content_w - 20; //} //if ($(#img_text + vars.curr_img).width > max_text_w){ $(#img_text + vars.curr_img).width(max_text_w); //} var max_text_bg_w vars.total_w; var text_bg_w $(#img_text + vars.curr_img).width() + img_fr_w * 2; /*if ($(#add_to_fav2_btn + vars.curr_img).length){ text_bg_w + 30 + 10; }*/ $(#img_text_bg + vars.curr_img).css({ vsibility: hidden }); $(#img_text_bg + vars.curr_img).width(text_bg_w); $(#img_text_bg + vars.curr_img).height($(#img_text + vars.curr_img).height() + 20); if ($(#img_text_bg + vars.curr_img).height() 30){ //$(#img_text_bg + vars.curr_img).height(30) ; } var text_y img_y + img_fr_w * 2 + vars.img1_h - $(#img_text_bg + vars.curr_img).height(); if (!vars.mobile){ var text_x img1_x + 30;// + vars.total_w - $(#img_text + vars.curr_img).width() + 10; var text_bg_x text_x - 30; } else { var text_x img1_x + 20; var text_bg_x text_x - 20; } /*if ($(#add_to_fav2_btn + vars.curr_img).length){ text_bg_x - 30; }*/ $(#img_text_bg + vars.curr_img).css({ top: text_y, left: text_bg_x }); //var text_left text_x; //if (active_sec home){ //text_left - 15; //} $(#img_text + vars.curr_img).css({ top: text_y + 10, left: text_x }); /*if ($(#img_text_shadow_img + vars.curr_img).length){ $(#img_text_shadow_img + vars.curr_img).width(text_bg_w + 10); $(#img_text_shadow_img + vars.curr_img).height($(#img_text_bg + vars.curr_img).height() + 20); } $(#img_text_shadow_img + vars.curr_img).css({ top: text_y - 15, left: text_bg_x - 5 ); */ if ($(#img_text_border + vars.curr_img).length){ $(#img_text_border + vars.curr_img).width($(#img_text + vars.curr_img).width()); } $(#img_text_border + vars.curr_img).css({ top: text_y + $(#img_text + vars.curr_img).height() - 10, left: text_x }); var close_btn_ypos text_y;// + ($(#img_text + vars.curr_img).height() - 28)/2; var close_btn_xpos text_bg_x; $(#img_text_close_btn + vars.curr_img).css({ top: close_btn_ypos, left: close_btn_xpos }); } else { // if home var tag_top 0; var tag_left 0; var tag_border_left 0; var tag_padding 60; if (!vars.mobile){ $(#img_text + vars.curr_img).width(content_w - vars.total_w - tag_padding * 2) $(#img_text_border + vars.curr_img).width(content_w - vars.total_w - 8 * 2 - 2); $(#img_text_border + vars.curr_img).height(content_h - 8 * 2 - 2) tag_top img_y + (vars.img1_h - $(#img_text + vars.curr_img).height())/2; var tag_border_top img_y + 8; if (image_arrayvars.curr_img.tag_pos left){ tag_left tag_padding; tag_border_left 8; } else if (image_arrayvars.curr_img.tag_pos right){ tag_left vars.total_w + 8 + tag_padding; tag_border_left img1_x + vars.total_w + 8; } } else { $(#img_text + vars.curr_img).width(content_w - 20) $(#img_text_border + vars.curr_img).width(content_w - 8 * 2 - 2); $(#img_text_border + vars.curr_img).height($(#img_text + vars.curr_img).height()) tag_top img_y + vars.img1_h + 10; var tag_border_top tag_top + 8; tag_left 10; tag_border_left 8; } $(#img_text + vars.curr_img).css({ top: tag_top, left: tag_left }); $(#img_text_border + vars.curr_img).css({ top: tag_border_top, left: tag_border_left }); } if ($(#pinterest_div + vars.curr_img).length){ $(#pinterest_div + vars.curr_img).css({ top: img_y + vars.img1_h - $(#pinterest_div + vars.curr_img).height() - 5, left: img1_x - $(#pinterest_div + vars.curr_img).width() - 3 }); } } //position_footer(); } function set_image(){ //debug(set_image + vars.images_loaded); if (vars.images_loaded 1){ //alert(vars.images_loaded + + vars.images_per_frame) clearInterval(set_image_int); set_image_int -1; //fade out prev image if (vars.old_img > 0){ $(#img1_div + vars.old_img).fadeOut(function(){ $(#img1_div + vars.old_img).empty(); $(#img1_div + vars.old_img).css({ display: none }) ; }); $(#img_border + vars.old_img).fadeOut(); if ($(#img_text_border + vars.old_img).length){ $(#img_text_border + vars.old_img).fadeOut(); } $(#img_text_btn + vars.old_img).fadeOut(); $(#img_text_btn_bg + vars.old_img).fadeOut(); if ($(#add_to_fav_btn + vars.old_img).length){ $(#add_to_fav_btn + vars.old_img).fadeOut(); } if ($(#add_to_fav_bg + vars.old_img).length){ $(#add_to_fav_bg + vars.old_img).fadeOut(); } if ($(#img_cart_btn + vars.old_img).length){ $(#img_cart_btn + vars.old_img).fadeOut(); $(#img_cart_btn_bg + vars.old_img).fadeOut(); } if ($(#delete_fav_btn + vars.old_img).length){ $(#delete_fav_btn + vars.old_img).fadeOut(); $(#delete_fav_bg + vars.old_img).fadeOut(); } $(#img_text_close_btn + vars.old_img).fadeOut(); $(#img_text + vars.old_img).fadeOut(); $(#img_text_bg + vars.old_img).fadeOut(); if (vars.gallery_view thumbs_only){ $(#img_close_btn + vars.old_img).fadeOut(); } if ($(#pinterest_div + vars.old_img).length){ $(#pinterest_div + vars.old_img).fadeOut(); } } resize_image(new); //set color set_color(vars.curr_img); // //fade in new images if (active_sec home && vars.home_display slide){ $(#img1_div + vars.curr_img).css({ display: }); $(#img1_div + vars.curr_img).animate({ left: vars.goal_x },slow, easeOutQuart); } else { if (vars.gallery_view thumbs_only){ $(#thumbs_div).css({ display: none, visibility: visible }); //alert(test); //$(#thumbs_div).fadeOut(); } position_scroll_btns(); /*$(#prev_btn).css({ display: none, visibility: visible }); $(#next_btn).css({ display: none, visibility: visible }); $(#prev_btn).fadeIn(); $(#next_btn).fadeIn();*/ /*$(#thumb_over_div + vars.curr_img).css({ visibility: visible, backgroundColor: # + vars.curr_color })*/ if ($(#watermark + vars.curr_img).length){ $(#watermark + vars.curr_img).fadeTo(0, vars.water_opacity); } $(#img1_div + vars.curr_img).css({ display: none, visibility: visible }); $(#img1_div + vars.curr_img).delay(200).fadeIn(function(){ if ($(#img_border + vars.curr_img).length){ $(#img_border + vars.curr_img).fadeIn(); } if (vars.curr_img 1 && !vars.first_img_loaded){ vars.first_img_loaded true; if ($(#content).length){ position_home_parag(); $(#content).css({ display: none, visibility: visible }); $(#content).fadeIn(fast); if ($(#home_border_solid).length){ $(#home_border_solid).css({ display: none, visibility: visible }); $(#home_border_solid).fadeIn(fast); $(#home_border_dotted).css({ display: none, visibility: visible }); $(#home_border_dotted).fadeIn(fast); } } if (vars.gallery_view slideshow){ display_thumbnails(); } position_footer(); } if (active_sec home){ if (vars.featured_count > 0 && !vars.home_featured_loaded){ vars.home_featured_loaded true; //position_home_featured(); display_home_featured(1); } } if ($(#pinterest_div + vars.curr_img).length){ $(#pinterest_div + vars.curr_img).css({ visibility: visible }); $(#pinterest_div + vars.curr_img).fadeIn(); } }); //$(#img_shadow_div + vars.curr_img).delay(500).fadeIn(); } if ($(#img_text + vars.curr_img).length){ if (active_sec home){ /*$(#img_text_bg + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_bg + vars.curr_img).delay(700).fadeTo(fast, 1); */ $(#img_text + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text + vars.curr_img).delay(700).fadeIn(); /*$(#img_title + vars.curr_img).css({ display: none, visibility: visible }); $(#img_title + vars.curr_img).delay(700).fadeIn(); */ if (!vars.mobile){ $(#img_text_border + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_border + vars.curr_img).delay(700).fadeIn(); } } $(#img_text_btn + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_btn + vars.curr_img).fadeIn(); $(#img_text_btn_bg + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_btn_bg + vars.curr_img).fadeIn(); } if ($(#img_cart_btn + vars.curr_img).length){ //alert(test: fade ); $(#img_cart_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#img_cart_btn + vars.curr_img).fadeIn(); //$(#img_cart_btn_bg + vars.curr_img).fadeIn(); } if (vars.favorites){ if ($(#add_to_fav_btn + vars.curr_img).length){ $(#add_to_fav_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#add_to_fav_btn + vars.curr_img).fadeIn(); //$(#add_to_fav_bg + vars.curr_img).fadeIn(); } else if ($(#delete_fav_btn + vars.curr_img).length){ $(#delete_fav_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#delete_fav_btn + vars.curr_img).fadeIn(); //$(#delete_fav_bg + vars.curr_img).fadeIn(); } } if (vars.gallery_view thumbs_only){ $(#img_close_btn + vars.curr_img).css({ visibility: visible }); $(#img_close_btn + vars.curr_img).fadeIn(); } for (var i1; i img_count; i++){ if (i ! vars.curr_img){ $(#img1_div + i).fadeOut(function(){ $(#img1_div + i).empty(); }); if ($(#img2_ + i).length){ $(#img2_div + i).fadeOut(function(){ $(#img2_div + i).empty(); }); } if ($(#img3_ + i).length){ $(#img3_div + i).fadeOut(function(){ $(#img3_div + i).empty(); }); } $(#img_text_btn + i).fadeOut(); $(#img_text_btn_bg + i).fadeOut(); $(#img_text_close_btn + i).fadeOut(); $(#img_text + i).fadeOut(); $(#img_text_bg + i).fadeOut(); if ($(#add_to_fav_btn + i).length){ $(#add_to_fav_btn + i).fadeOut(); $(#add_to_fav_bg + i).fadeOut(); } else if ($(#delete_fav_btn + i).length){ $(#delete_fav_btn + i).fadeOut(); $(#delete_fav_bg + i).fadeOut(); } if ($(#img_cart_btn + i).length){ $(#img_cart_btn + i).fadeOut(); $(#img_cart_btn_bg + i).fadeOut(); } } } if (active_sec home){ slide_int setInterval(slide_images(), home_speed); } else { //debug(slide_playing + + vars.gallery_view); if (slide_playing && vars.gallery_view slideshow){ if (active_sec galleries || active_sec fav_gallery){ slide_int setInterval(slide_images(), gallery_speed); } else { slide_int setInterval(slide_images(), proofing_speed); } } } //if (vars.thumbs_only){ //$(#thumbs_div).fadeOut(); //} $(#spinner).fadeOut(); } } function set_color(img_no){ if (active_sec fav_gallery){ var clr vars.curr_color; } else { var clr ; } //alert(vars.sec_color); //check if image color defined if (img_no > 0 && image_arrayimg_no){ if (image_arrayimg_no.color ! ){ clr image_arrayimg_no.color; } } //check if sub section color defined if (clr && vars.sec_color ! ){ clr vars.sec_color; } //check if section color defined if (active_btn > 0){ if (clr && menu_arrayactive_btn.color ! ){ clr menu_arrayactive_btn.color; } } //set to default accent color if (clr ){ clr 9ba019; } clr 9ba019; vars.curr_color clr; //$(#btn_div + active_btn).find(span).animate({ //backgroundColor: # + vars.curr_color //}, 200); if ($(#cart_btn_img).length && false){ $(#cart_btn_img).css({ borderLeftColor: # + vars.curr_color }); } $(#btn_div + active_btn).find(span).css({ color: # + vars.curr_color }); if (vars.mobile){ //alert(active_btn); $(#btn_div + active_btn).find(div).css({ color: # + vars.curr_color }); } $(#menu_btn_over).css({ //borderBottom: 1px solid # + vars.curr_color }); if(false) { $(#menu_bg_div).css({ backgroundColor: # + vars.curr_color }); } /*$(#doc_bg).animate({ backgroundColor: # + vars.curr_color },fast, easeOutQuart, function(){ //alert(test); //set_bg_color(); });*/ //document.body.style.backgroundColor # + vars.curr_color; if ($(.btn_bullet).length && false){ //alert(active_btn + + vars.curr_color); $(.btn_bullet).css({ backgroundColor: # + vars.curr_color }); } if ($(#content).length && active_sec home){ //alert(active_btn + + vars.curr_color); $(#content).css({ backgroundColor: # + vars.curr_color }); } $(divid*btn_divider).each(function() { $(this).css({ //color: # + vars.curr_color }); }); //if ($(#logo2).length){ // $(#logo2).css({ // color: # + vars.curr_color // }); //} if ($(#menu_btn_line).length){ $(#menu_btn_line).css({ color: # + vars.curr_color }); } if ($(#main_social_btn).length){ $(#main_social_btn).css({ color: # + vars.curr_color }); } if ($(#error_msg).length){ $(#error_msg).css({ color: # + vars.curr_color }); } if ($(.jspDrag).length){ if(active_sec text || active_sec featured || active_sec collage) { $(.jspTrack).css({ visibility: hidden, backgroundColor: # }); $(.jspDrag).css({ visibility: hidden, backgroundColor: # }); } else { $(.jspDrag).css({ visibility: visible, backgroundColor: # + vars.curr_color }); } } //set contact btn /*if ($(#submit_form_btn).length){ $(#submit_form_btn).css({ backgroundColor: # + vars.curr_color }); }*/ //set active submenu btn /*for (k1; kbtn_count; k++){ $(tdid*subbtn + k + ).css({ //backgroundColor: # + vars.curr_color, //color: #000000 }); }*/ //set active submenu btn if ($(#subbtn + active_btn + _ + vars.sec_id).length){ $(#subbtn + active_btn + _ + vars.sec_id).css({ //backgroundColor: # + vars.curr_color, //color: # + vars.curr_color }); } //set active thumbnail if (vars.curr_img > 0 && active_sec ! home){ if ($(#thumb + vars.curr_img).length){ rollover_thumb(vars.curr_img); } } //set music btns if (sound_vars.sound_status playing){ $(#sound_play_btn).css({ color: # + vars.curr_color }); $(#sound_pause_btn).css({ color: #000000 }); } else { $(#sound_pause_btn).css({ color: # + vars.curr_color }); $(#sound_play_btn).css({ color: #000000 }); } /* if ($(#down_btn).length){ $(#down_btn).css({ backgroundColor: # + vars.curr_color }); } if ($(#up_btn).length){ $(#up_btn).css({ backgroundColor: # + vars.curr_color }); }*/ } function set_bg_color(){ //$(body).css({ //background-color: # + vars.curr_color // }); //var h $(#copyright_div).position().top //$(#page).height(vars.doc_h + 10 * Math.random()); //alert(getDocHeight()); } function getDocHeight() { //$(#doc_bg).height(10); var D document; return Math.max( D.body.scrollHeight, D.documentElement.scrollHeight, D.body.offsetHeight, D.documentElement.offsetHeight, D.body.clientHeight, D.documentElement.clientHeight ); } // function start_slideshow(){ if(slide_int) { clearInterval(slide_int); slide_int -1; } if (img_count > 1){ //slide_int setInterval(slide_images(), slideshowspeed); var next_image vars.curr_img + 1; if(next_image > img_count) { next_image 1; } open_image_preview(next_image, slideshow); //slide_images(); slide_playing true; } else { vars.curr_img 0; open_image_preview(1); //open_image(1); slide_playing false; } if($(#slideshow_btn).length) { /*$(#slide_play_btn).css({ border-left: 6px solid # + vars.curr_color }); $(#slide_pause1).css({ background-color: #000000 }); $(#slide_pause2).css({ background-color: #000000 });*/ $(#slideshow_btn).html(STOP SLIDESHOW); } } function stop_slideshow(){ if(slide_int) { clearInterval(slide_int); slide_int -1; } slide_playing false; //var slide_btn document.getElementById(slideshow_btn); if($(#slideshow_btn).length) { /*$(#slide_play_btn).css({ border-left: 6px solid #000000 }); $(#slide_pause1).css({ background-color: # + vars.curr_color }); $(#slide_pause2).css({ background-color: # + vars.curr_color });*/ $(#slideshow_btn).html(PLAY SLIDESHOW); } } function toggle_slideshow() { //debug(slide_playing); if(slide_playing) { stop_slideshow(); } else { start_slideshow(); } } function slide_images(dir){ //alert(dir); if (dir prev){ var new_img vars.curr_img - 1; //if (vars.thumbs_only){ if (new_img (vars.max_thumbs_per_col * vars.max_thumbs_per_row * (vars.page_no - 1)) || new_img 0){ $(#thumbs_div).fadeOut( fast, function(){ vars.page_no--; if (vars.page_no 0){ vars.page_no vars.page_count; } display_thumbnails(); }); } //} if (new_img 0){ new_img img_count; } } else { var new_img vars.curr_img + 1; if (active_sec ! home){ var thumbs_per_page vars.max_thumbs_per_col * vars.max_thumbs_per_row * vars.page_no; //alert(new_img + + vars.max_thumbs_per_col * vars.max_thumbs_per_row * vars.page_no + + img_count); //if (!vars.thumbs_only){ if ((new_img > thumbs_per_page && thumbs_per_page > 0) || new_img > img_count){ $(#thumbs_div).fadeOut( fast, function(){ vars.page_no++; if (vars.page_no > vars.page_count){ vars.page_no 1; } display_thumbnails(); }); } //} } if (new_img > img_count){ new_img 1; } } open_image(new_img); } //BLOG STYLE GALLERIES $(window).resize(function(){ //position_gal_images(0); }); function position_gal_images(img_no){ //if (vars.thumbnails no){ var top 0; //var left content_padding;//(content_w - total_w)/2; var site_r 1 vars.gal_img_xpos 0; if (img_no > 0){ var first img_no; var this_img_count img_no; } else { var first 1; var this_img_count img_count; } //var img1_x vars.gal_img_xpos; var img2_x 0; //alert(this_img_count); for (var ifirst; ithis_img_count; i++){ if (i > 1 && $(#img1_div + (i - 1)).length){ top $(#img1_div + (i - 1)).position().top + $(#img1_div + (i - 1)).data(total_h) + 30; } //if (img_no i || img_no 0){ var img1_r image_arrayi.img1_w /image_arrayi.img_h; var img2_r image_arrayi.img2_w /image_arrayi.img_h; var total_w image_arrayi.img1_w + image_arrayi.img2_w; var img1_wr image_arrayi.img1_w/total_w; var img2_wr image_arrayi.img2_w/total_w; if (image_arrayi.images_per_frame > 1){ total_w + img_fr_w; } vars.max_img_w win_w; vars.max_img_h content_h; //vars.curr_img i; //resize_image(blog); //img1_x vars.gal_img_xpos; if (total_w > vars.max_img_w){ var img1_w vars.max_img_w * img1_wr; var img2_w vars.max_img_w * img2_wr; total_w vars.max_img_w; } else { var img1_w image_arrayi.img1_w; var img2_w image_arrayi.img2_w; } var img_h img1_w/img1_r; /*if (img_h > vars.max_img_h){ img_h vars.max_img_h; img1_w img_h * img1_r; img2_w img_h * img2_r; }*/ vars.total_gal_h + img_h + 30; total_w img1_w + img2_w; if (image_arrayi.images_per_frame > 1){ total_w + img_fr_w; } $(#img1_div + i).data(total_w, total_w); $(#img1_div + i).data(total_h, img_h); if ($(#img1_ + i).length){ $(#img1_ + i).width(img1_w); $(#img1_ + i).height(img_h); } if ($(#img2_ + i).length){ $(#img2_ + i).width(img2_w); $(#img2_ + i).height(img_h); } vars.gal_img_xpos (win_w - total_w)/2; $(#img1_div + i).css({ top: top, left: vars.gal_img_xpos }); if (image_arrayi.images_per_frame > 1){ img2_x vars.gal_img_xpos + img1_w + img_fr_w; $(#img2_div + i).css({ top: top + px, left: img2_x }); } //alert(vars.gal_img_xpos); //set watermark if ($(#watermark + i).length){ $(#watermark + i).css({ top: vars.water_ypos, left: (content_w - $(#watermark + i).width())/2 }); $(#watermark + i).css({ display: none, visibility: visible }); if (active_sec proof_gallery){ } else { } } //position image text btn var btn_x vars.gal_img_xpos + total_w - 30;//(content_w - total_w)/2; var btn_y top + img_h + img_fr_w*2 + content_padding; //position info btn $(#img_text_btn + i).css({ top: btn_y, left: btn_x }); if ($(#img_text_btn + i).length){ btn_x + 30; } //position cart btn if ($(#img_cart_btn + i).length){ $(#img_cart_btn + i).css({ top: btn_y, left: btn_x }); btn_x + 30; } //position favorites btn if ($(#add_to_fav_btn + i).length){ $(#add_to_fav_btn + i).css({ top: btn_y, left: btn_x }); } if ($(#delete_fav_btn + i).length){ $(#delete_fav_btn + i).css({ top: btn_y, left: btn_x }); } /* if ($(#delete_fav_bg + i).length){ $(#delete_fav_bg + i).width(30); $(#delete_fav_bg + i).height(30); $(#delete_fav_bg + i).css({ top: btn_y, left: btn_x }); } */ //position image close btn if (!vars.mobile){ $(#img_close_btn + i).css({ top: top + img_fr_w + 20, left: vars.gal_img_xpos + total_w - img_fr_w }); } //set tag width and height var max_text_w total_w - 40 - 30; if ($(#img_text + i).width > max_text_w){ $(#img_text + i).width(max_text_w); } var max_text_bg_w total_w; var text_bg_w $(#img_text + i).width() + 30 + 30; $(#img_text_bg + i).css({ vsibility: hidden }); $(#img_text_bg + i).width(text_bg_w); $(#img_text_bg + i).height($(#img_text + i).height()); if ($(#img_text_bg + i).height() 30){ $(#img_text_bg + i).height(30) ; } var text_y top + img_h - $(#img_text_bg + i).height() - 20; var text_x vars.gal_img_xpos + total_w - $(#img_text + i).width(); var text_bg_x text_x - 30 - 10; $(#img_text_bg + i).css({ top: text_y, left: text_bg_x }); var text_left text_x; $(#img_text + i).css({ top: text_y, left: text_left }); var close_btn_ypos text_y + 5;// + ($(#img_text + i).height() - 28)/2; var close_btn_xpos text_bg_x + 5; $(#img_text_close_btn + i).css({ top: close_btn_ypos, left: close_btn_xpos }); if ($(#pinterest_div + i).length){ $(#pinterest_div + i).css({ top: top + img_h - $(#pinterest_div + i).height(), left: vars.gal_img_xpos + img_fr_w + 5 }); } //vars.gal_img_xpos + total_w + img_fr_w*4; //top + img_h + 30; //add extra spacer /*if (i img_count){ $(#gal_spacer).css({ left: vars.gal_img_xpos }); }*/ //top + img_h + content_padding; //left + total_w; //} } //vars.site_h vars.interface_ypos + top + vars.copy_vspace; //} } function set_video(){ $(#img1_div + vars.curr_img).css({ visibility: visible, top: img_fr_w }); $(#img1_div + vars.curr_img).fadeTo(0, 0.1); //fade out previous if (vars.old_img > 0){ $(#img1_div + vars.old_img).fadeOut(function(){ $(#img1_div + vars.old_img).empty(); $(#img2_div + vars.old_img).empty(); $(#img3_div + vars.old_img).empty(); }); if ($(#img2_ + vars.old_img).length){ $(#img2_div + vars.old_img).fadeOut(); } if ($(#img3_ + vars.old_img).length){ $(#img3_div + vars.old_img).fadeOut(); } $(#img_text_btn + vars.old_img).fadeOut(); $(#img_text_btn_bg + vars.old_img).fadeOut(); $(#img_text_close_btn + vars.old_img).fadeOut(); $(#img_text + vars.old_img).fadeOut(); $(#img_text_bg + vars.old_img).fadeOut(); } //resize_image(new); //set color set_color(vars.curr_img); // //fade in new video $(#img1_div + vars.curr_img).delay(200).fadeTo(fast, 1); for (var i1; i img_count; i++){ if (i ! vars.curr_img){ $(#img1_div + i).fadeOut(function(){ $(#img1_div + i).empty(); }); if ($(#img2_ + i).length){ $(#img2_div + i).fadeOut(function(){ $(#img2_div + i).empty(); }); } if ($(#img3_ + i).length){ $(#img3_div + i).fadeOut(function(){ $(#img3_div + i).empty(); }); } $(#img_text_btn + i).fadeOut(); $(#img_text_btn_bg + i).fadeOut(); $(#img_text_close_btn + i).fadeOut(); $(#img_text + i).fadeOut(); $(#img_text_bg + i).fadeOut(); } } if (slide_playing){ if (active_sec home){ slide_int setInterval(slide_images(), 6000); } else if (active_sec galleries){ slide_int setInterval(slide_images(), gallery_speed); } else { slide_int setInterval(slide_images(), proofing_speed); } } $(#loader_div).fadeOut(); } function position_scroll_btns(){ if ($(#next_btn).length){ $(#next_btn).css({ display: , visibility: hidden }); var btns_w $(#gallery_view_btn).width() + $(#slideshow_btn).width() + 20; if (!vars.mobile){ var scroll_top content_h/2; var scroll_left content_w + 5; } else { var scroll_top content_padding + vars.max_img_h + 30; var scroll_left win_w/2 + 5; } $(#next_btn).css({ top: scroll_top, left: scroll_left, visibility: visible }); if (!vars.mobile){ scroll_top - 11; scroll_left -25; } else { //scroll_top - 11; scroll_left win_w/2 - 35; } $(#prev_btn).css({ display: , visibility: hidden }); $(#prev_btn).css({ top: scroll_top, left: scroll_left, visibility: visible }); } } // //CONTACT SECTION FUNCTIONS function reset_news_form(){ if ($(#news_f).length){ $(#news_f).val(); } } function process_news_form(form_id){ var options { target: , // target element(s) to be updated with server response beforeSubmit: showNewsRequest, // pre-submit callback success: function(results) { //var results_array results.split(split); $(#error_msg2).html(results); reset_news_form(); } // post-submit callback }; // bind form using ajaxForm $(# + form_id).ajaxForm(options); } // pre-submit callback function showNewsRequest(formData, jqForm, options) { // formData is an array; here we use $.param to convert it to a string to display it // but the form plugin does this for you automatically when it submits the data var queryString $.param(formData); // jqForm is a jQuery object encapsulating the form element. To access the // DOM element for the form do this: //var formElement jqForm0; //validate var validated true; if ($(#news_f).val() ){ $(#error_msg2).html(Please enter e-mail address.); validated false; } if (validated){ $(#error_msg2).html(Sending...please wait.); return true; } else { return false; } //alert(About to submit: \n\n + queryString); // here we could return false to prevent the form from being submitted; // returning anything other than false will allow the form submit to continue } function openLikeBox(){ var fb_div $(#fb_div); var fb_close_btn $(#fb_close_btn); var content_div $(#interface_div); var bg_div $(#logo_bg); var logo_div $(#logo_div); fb_div.hide(); var fb_h $(#fb_div).height(); var fb_w $(#fb_div).width(); var xpos ($(window).width() - fb_w)/2; var ypos vars.interface_ypos + 10;//($(window).height() - fb_h)/2; //var ypos $(window).height() - fb_h; var ystart $(window).height(); fb_div.css({ top: ypos + px, left: xpos + px, z-index: 1000000 }); fb_div.fadeIn(); content_div.fadeTo(fast, .05); //bg_div.fadeTo(fast, .05); //logo_div.fadeTo(fast, .05); } function closeLikeBox() { var fb_div $(#fb_div); var content_div $(#interface_div); var bg_div $(#logo_bg); var logo_div $(#logo_div); fb_div.fadeOut(); content_div.fadeTo(fast, 1); //bg_div.fadeTo(fast, 1); ///logo_div.fadeTo(fast, 1); } function cart_add_to_favorites(gal_id, img_id, img_order, type, gal_type){ var post_info gal_id + gal_id + &img_id + img_id + &type + type + &gal_type + gal_type; if(type add) { cart_add_favorite(img_id, gal_id, gal_type); if(vars.favorite_count 0) { $(#favorites_btn).fadeIn(); } vars.favorite_count++; } else { cart_remove_favorite(img_id, gal_id, gal_type); vars.favorite_count--; if(vars.favorite_count 0) { $(#favorites_btn).fadeOut(); } } //save info to database $.ajax({ url: blu_front/ANJA/blu_source/favorite_update.php, type: post, data: post_info, //beforeSend: function(){$(menu).fadeOut(slow);}, success: function(result){ if (type add){ $(#add_to_fav_btn + img_order).attr(src,blu_front/ANJA/v1site_images/graphics/fav_added.png); } else { $.address.path(refresh_favorites); //if(vars.favorite_count > 0) { //$(#favorites_btn).click(); //} else { //$.address.path(refresh_prev_page); //} } //cart_update_favorites_count(type); }, error: function(){ alert(theres an error with AJAX); } }); } function fadeObject(obj, speed, alpha){ $(# + obj).fadeTo(speed, alpha); } function fadeEvent(num) { $(#date_event+num).fadeOut(); } function load_queue(n){ if (n lq.length){ if ($(# + lqn.div_id).length){ $(# + lqn.div_id).append(img idimg_ + lqn.div_id + src + lqn.path + >); $(# + lqn.div_id).data(opened, false); $(#img_ + lqn.div_id).load(function(){ lqn.loaded true; $(# + lqn.div_id).data(set, false); set_size(); $(# + lqn.div_id).css({ display: none, visibility: visible }); if (lqn.display_onload){ $(# + lqn.div_id).fadeIn(); } if (lq_curr_index 0){ loadFonts(); } lq_curr_index++; load_queue(lq_curr_index); }); } } } function position_footer(){ var max_ypos 0; var copy_pad 10; //find bottom of section //alert(position_footer: + active_sec + + vars.sub_type); if (active_sec cart){ max_ypos vars.cart_ypos; } else if (active_sec profile){ max_ypos vars.purchases_ypos; } else if (active_sec home){ if (vars.mobile){ max_ypos vars.max_img_h + content_padding * 2 ; } else { max_ypos content_h + content_padding * 2; if (vars.home_featured_h > 0){ max_ypos + vars.home_featured_h; } } max_ypos $(#home_sec_div).height() + 30; // + vars.interface_ypos; } else if(active_sec text && (vars.sub_type news || vars.sub_type sale)) { max_ypos $(#arrow-scroll-pane).height() + $(#arrows_div).height(); //alert(max_ypos); } else if (active_sec text && (vars.sub_type blog-style || vars.mobile || vars.text_pos || vars.text_pos bottom)){ //debug(sec_count); //if(vars.subsec_ypos > 0) { //max_ypos vars.subsec_ypos + 30; max_ypos $(#content_div + sec_count).position().top + $(#content_div + sec_count).height(); //} //debug(max_ypos + + subsec_ypos); } else if (active_sec text && (vars.sub_type blog-style || vars.mobile || vars.text_pos left || vars.text_pos right)){ //debug(sec_count); //if(vars.subsec_ypos > 0) { //max_ypos vars.subsec_ypos + 30; max_ypos $(#content_div + sec_count).position().top + $(#content_div + sec_count).height(); //} //debug(max_ypos + + subsec_ypos); } else if (active_sec featured){ max_ypos vars.featured_ypos; max_ypos vars.thumbs_h + $(#content_table).height() + 100; } else if (active_sec news || active_sec sale){ max_ypos vars.featured_ypos; max_ypos $(#news_page_div).height() + 30; } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ //debug(vars.gallery_view); if(vars.sec_type featured-blog) { var add 110; if(vars.mobile){ var comment_top vars.thumbs_h + $(#gal_title_table).height() + 30; $(#comments_div).css({ top: comment_top }); add 170; } max_ypos $(#comments_div).position().top + $(#comments_div).height() + add; } else if(vars.gallery_view thumbs_only) { max_ypos vars.thumbs_h + 110; } else if(vars.gallery_view arrow_nav) { max_ypos $(#img_preview_div).height() + 70; if (vars.cart){ max_ypos + 300; } } else if (vars.gallery_view ! blogstyle){ max_ypos content_h + 110;//vars.total_gal_h + content_padding * 2; if (vars.cart){ max_ypos + 300; } } else { //max_ypos $(#page).height();//content_padding; for (var i1; iimg_count; i++){ //debug(i + + image_arrayi.img_h); //max_ypos + image_arrayi.img_h + 35; } max_ypos $(#images_holder_div).height() + 130; // Extra 130 is for title if (vars.cart){ max_ypos + 300; } } } else if (active_sec contact){ max_ypos vars.contact_ypos; max_ypos $(#form_div).position().top + $(#form_div).height() + 30; //alert(getDocHeight() + + vars.contact_ypos + + win_h); } else if (active_sec proof){ if (!vars.mobile){ //max_ypos vars.proof_ypos; var h $(#form_div).height(); if($(#title2_div).height() > h) { h $(#title2_div).height(); } max_ypos $(#form_div).position().top + h + 40; } else { max_ypos vars.proof_ypos; } } else if (active_sec proof_preview){ if (!vars.mobile){ max_ypos vars.proof_preview_ypos; } else { max_ypos vars.proof_preview_ypos; } } else if (active_sec collage){ if (!vars.mobile){ max_ypos collage_h + 8 + $(#col_name1).outerHeight(); } else { max_ypos vars.collage_ypos + 8; } } else if (active_sec video && $(#video_links_div).length){ //max_ypos $(#video_links_div).height(); max_ypos vars.video_gallery_height; //debug(max_ypos); if (max_ypos (content_h + content_padding * 2)){ max_ypos (content_h + content_padding * 2); } } else { max_ypos content_h + content_padding * 2; } max_ypos + 10; //if (vars.cart_opened){ // max_ypos $(#cart_div).height() + 16; //s} if (!vars.mobile){ var footer_elem_top vars.interface_ypos + max_ypos + vars.footer_h + 16 + copy_pad vars.footer_top_goal vars.interface_ypos + max_ypos; vars.home_featured_top vars.footer_top_goal; } else { var footer_elem_top vars.interface_ypos + max_ypos + 16 + 20; vars.home_featured_top footer_elem_top; if (vars.main_featured_count > 0 && active_sec home){ //footer_elem_top + (vars.main_featured_img_h + content_padding) * vars.main_featured_count + vars.footer_h; } vars.footer_top_goal footer_elem_top + 30; } //alert(footer_top_goal + vars.footer_top_goal + max_ypos + max_ypos); if (vars.mobile){ vars.footer_h 60; $(#footer_div).height(vars.footer_h); $(#footer_div).css({ bottom: 0//vars.footer_top_goal }); } else { //alert(getDocHeight() + + win_h); //vars.footer_h getDocHeight() - vars.footer_top_goal; //if(getDocHeight() > win_h) { vars.footer_h $(#footer_div).height() ; //40; //} //alert(vars.footer_top_goal + + (win_h - vars.footer_h)); if(vars.footer_top_goal (win_h - vars.footer_h) ) { vars.footer_top_goal (win_h - vars.footer_h); } var min_y (vars.interface_ypos + $(#interface_div).height() - vars.footer_h); //if(vars.ipad) { // var min_y (getDocHeight() - vars.footer_h); //} //debug(vars.footer_top_goal + + min_y); //alert(vars.footer_top_goal + + min_y); if(vars.footer_top_goal min_y ) { vars.footer_top_goal min_y; } //alert(vars.footer_top_goal + + $(#interface_div).height()); $(#footer_div).height(vars.footer_h); if(vars.menu_bg_type ! full_window) { $(#footer_div).width(content_w); // + 70 - 10); } else { $(#footer_div).width(win_w - 70); } $(#footer_div).css({ top: vars.footer_top_goal }); } vars.social_ypos vars.footer_top_goal + (vars.footer_h - vars.social_h)/2 + 8; if (!vars.mobile){ vars.social_ypos vars.logo_ypos + $(#logo_div).data(h) + content_padding; // vars.menu_ypos + vars.menu_h; //- vars.social_h/2 + 2; if(vars.menu_position top) { //vars.social_ypos 10; //vars.logo_ypos + $(#logo_div).data(h) + vars.menu_h + 7 + header_padding + 10; //vars.social_ypos vars.logo_ypos + $(#logo_div).data(h) + header_padding; // + vars.menu_h + 7 + header_padding + 10; vars.social_ypos $(#logo_div).data(h) + $(#menu_div).height() + (14) + (header_padding) + logo_padding + 10 ; } vars.site_icons_ypos vars.menu_ypos + 30 * 2 + vars.menu_h - $(#favorites_btn).data(h)/2 - 4; } //vars.doc_h getDocHeight(); //if ((active_sec text && vars.sub_type blog-style) || active_sec featured || active_sec collage || active_sec video){ //vars.footer_top_goal footer_elem_top - vars.footer_h; //alert(footer: + vars.footer_top_goal); //$(#doc_bg).height(max_ypos - 8); //} //set copyright $(#copyright_div).css({ //top: $(#footer_div).position().top + 5,//vars.footer_top_goal + 5, //$(#footer_div).position().top + $(#footer_div).height() + 16 + 10 //left: 0, }); //alert($(#copyright_div).data(opened) + + vars.sec_loaded); if (!$(#copyright_div).data(opened) && vars.sec_loaded){ $(#copyright_div).data(opened, true); /*$(#copyright_div).css({ display: none, visibility: visible }); $(#copyright_div).fadeIn(fast);*/ } if ($(#slideshow_btn).length){ var slide_x ((win_w - $(#slideshow_btn).width()) / 2); $(#slideshow_btn).css({ bottom: 0, // $(#copyright_div).position().top z-index: 800000, padding-bottom: 12 + px, left: slide_x }); } if ($(#scroll_div).length){ $(#scroll_div).css({ //top: (vars.footer_top_goal - vars.interface_ypos) + 5, left: vars.interface_xpos + (content_w - $(#scroll_div).width())/2 }); } if($(#footer_bg_bottom_line).length) { $(#footer_bg_bottom_line).css({ top: 4 }); } //$(#doc_bg).height(vars.doc_h); //position_home_featured(); position_icons(); } function close_footer_elements(){ /*$(#copyright_div).data(opened, false); $(#copyright_div).fadeOut(fast); $(#sound_player_div).data(opened, false); $(#sound_player_div).fadeOut(fast); */ } function scaleSecImage(sec_no, per, type){ var total_width 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ var r img_arraysec_noi.img_w/img_arraysec_noi.img_h; var subtractor 0; if(active_sec ! news && active_sec ! sale) { subtractor (2*0); } if (type h){ img_arraysec_noi.scaled_h Math.floor(img_arraysec_noi.img_h * per - subtractor); img_arraysec_noi.scaled_w Math.floor(img_arraysec_noi.scaled_h * r - subtractor); } else { var new_width Math.floor(img_arraysec_noi.img_w * per); var new_height new_width / r; //img_arraysec_noi.scaled_w / r; if(active_sec ! news && active_sec ! sale) { new_width - (2*0); new_height - (2*0); } total_width + new_width; if(i > 1) { total_width + 2; } img_arraysec_noi.scaled_w Math.round(img_arraysec_noi.img_w * per - subtractor); img_arraysec_noi.scaled_h Math.round(img_arraysec_noi.scaled_w / r - subtractor); if(active_sec news || active_sec sale) { $(#thumb + sec_no).data(t_w, total_width); $(#thumb + sec_no).data(t_h, new_height); $(#text_img + sec_no + _ + i).data(t_w, new_width); $(#text_img + sec_no + _ + i).data(t_h, new_height); } } //debug(sec_no + + type + + img_arraysec_noi.scaled_w); $(#text_img + sec_no + _ + i).height(img_arraysec_noi.scaled_h); $(#text_img + sec_no + _ + i).width(img_arraysec_noi.scaled_w); } } } function scaleSecImages(sec_no, is_text) { if((active_sec news || active_sec sale)) { var no_image sec_arraysec_no.no_image; if(no_image 1){ return; } } if(is_text) { var media_type sec_arraysec_no.media_type; //; if(vars.sub_type news || vars.sub_type sale) { media_type image; } if(media_type ! image && active_sec ! news && active_sec ! sale) { return; } } var total_h $(#img_container_div + sec_no).height(); var spacer vars.img_spacer; if(active_sec news || active_sec sale) { spacer 1; } if (vars.mobile){ //spacer Math.round(spacer/2); } var last_no 0; var total_w 0;//$(#img_container_div + sec_no).width(); var adder 0; var total_test_w 0; if(active_sec ! news && active_sec ! sale) { adder (2*0); } for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; total_w + img_arraysec_noi.img_w; total_test_w + img_arraysec_noi.img_w + adder; } } // //SCALE IMAGES var text_pos vars.text_pos; if(is_text 1) { text_pos sec_arraysec_no.text_pos; } if ((text_pos left || text_pos right || text_pos center) && !vars.mobile){ //get last image number var space_count_row img_arraysec_nolast_no.row - 1; var total_img_h total_h; if (active_sec home || active_sec galleries){ var content_area content_h;//win_h - 150 - vpadding - content_padding * 2; } else { var content_area site_h; if (content_area > max_h && active_sec ! contact){ content_area max_h; } } //alert(total_img_h + + content_area); if (total_img_h > content_area){ var per content_area/total_img_h; scaleSecImage(sec_no, per, h); //positionSecImages(sec_no, per, is_text); } } else if (text_pos ! || active_sec news || active_sec sale) { var space_count_col img_arraysec_nolast_no.col - 1; var total_img_w total_w; var adder 2; if(vars.mobile) { adder 0; } var content_area content_w - space_count_col * spacer;// - img_fr_w * 2; if(active_sec news || active_sec sale) { var content_area vars.thumb_only_w - space_count_col; } //debug(total_w + + content_w); //alert(sec_no + + space_count_col + + spacer); if (total_test_w > content_area || active_sec news || active_sec sale){ var per (content_area/(total_img_w)); //alert(content_area + + total_img_w + + per); scaleSecImage(sec_no, per, w); //positionSecImages(sec_no, per, is_text); } } } function positionSecImages(sec_no, per, is_text) { var param_array, row, col, w, h, xpos, ypos, prev_row, prev_col, prev_w, prev_h, div_html, img_dir, total_w, total_h, border_xpos, sec_pos; var spacer content_padding; //Math.round(content_padding/2); if(active_sec news || active_sec sale) { spacer 1; } var last_img 0; xpos 0; ypos 0; if (is_text){ sec_pos sec_arraysec_no.text_pos; } else { sec_pos vars.text_pos; } //alert(is_text); var last_no 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; } } for (var i1; ilast_no + 1; i++){ //param_array layout_img_arrayi.split(:); row parseInt(img_arraysec_noi.row); col parseInt(img_arraysec_noi.col); w parseInt(img_arraysec_noi.scaled_w); h parseInt(img_arraysec_noi.scaled_h); img_dir img_arraysec_noi.img_path; if (row > 0){ last_img i; if (i > 1){ prev_row parseInt(img_arraysec_no(i - 1).row); prev_col parseInt(img_arraysec_no(i - 1).col); prev_w parseInt(img_arraysec_no(i - 1).scaled_w); prev_h parseInt(img_arraysec_no(i - 1).scaled_h); //get ypos if (prev_col > col){ for (var j1; ji; j++){ if (img_arraysec_noj.row (row - 1) && img_arraysec_noj.col col){ prev_h img_arraysec_noj.scaled_h; break; } } ypos + prev_h + spacer; } //get xpos if (prev_row row){ xpos + prev_w + spacer; if (sec_pos center){ xpos content_w - w; } } else { xpos 0; for (var j1; ji; j++){ var prev_ypos $(#text_img + sec_no + _ + j).position().top + img_arraysec_noj.scaled_h; if (img_arraysec_noj.col col && prev_ypos > ypos){ xpos + img_arraysec_noj.scaled_w + spacer; break; } } } } img_arraysec_noi.xpos xpos; img_arraysec_noi.ypos ypos; $(#text_img + sec_no + _ + i).data(img_no, i); $(#text_img + sec_no + _ + i).data(img_count, last_no); $(#text_img + sec_no + _ + i).css({ top: ypos, left: xpos }); if (sec_pos ! left){ border_xpos xpos; } else { if (is_text){ border_xpos content_w - img_arraysec_noi.scaled_w } else { border_xpos 0; } } $(#text_img_border + sec_no + _ + i).css({ top: ypos + 8, left: border_xpos + 8 }); //alert($(#text_img_border + sec_no + _ + i).width() + + sec_no + + i); } } //end for total_w 0; total_h 0; for (var i1; i last_no; i++){ if ((img_arraysec_noi.xpos + img_arraysec_noi.scaled_w) > total_w){ total_w img_arraysec_noi.xpos + img_arraysec_noi.scaled_w - 1; } if ((img_arraysec_noi.ypos + img_arraysec_noi.scaled_h) > total_h){ total_h img_arraysec_noi.ypos + img_arraysec_noi.scaled_h; } } $(#img_container_div + sec_no).width(total_w); $(#img_container_div + sec_no).height(total_h); if (active_sec text){ position_text(); } else if (active_sec contact){ position_contact(); } else if (active_sec proof){ position_proof_sec(); } //$(#img_container_div + sec_no).fadeTo(0, 1); //$(#img_float_div + sec_no).fadeTo(0, 1); } function setSecImages(sec_no, is_text, sec_count, resize){ var sec_pos; if (is_text){ sec_pos sec_arraysec_no.text_pos; } else { sec_pos vars.text_pos; } if ($(#sec_vborder + sec_no).length && false){ if (!$(#sec_vborder + sec_no).data(opened)){ var vborder_x 30; var vborder_y1 0; if (active_sec text){ var vborder_y2 $(#text_div + sec_no).height(); } else if (active_sec contact){ var vborder_y2 $(#contact_content).height(); } if (vars.sub_type download){ vborder_y2 + $(#downloads_div).height(); } var sec_vborder Raphael(sec_vborder + sec_no); sec_vborder.clear(); sec_vborder.drawnLine(vborder_x, vborder_y1, vborder_x, vborder_y2, 1).attr(stroke,#c6c6c6); $(#sec_vborder + sec_no).data(opened, true); } } if ($(#border_div + sec_no).length && false){ if (sec_no sec_count && !$(#border_div + sec_no).data(opened)){ $(#border_div + sec_no).css({ visibility:visible }); var border_x1 0; var border_x2 content_w; var border_y 4/2; var sec_border Raphael(border_div + sec_no); sec_border.clear(); sec_border.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); $(#border_div + sec_no).data(opened, true); } } //set downloads if ($(#downloads_holder_div).length && !resize){ $(#downloads_div).appendTo($(#downloads_holder_div)); //alert($(#downloads_holder_div).html()); } if (sec_pos ! || active_sec news || active_sec sale){ //var layout layout_arrayn; //var layout_img_array layout.split(,); var param_array, row, col, w, h, xpos, ypos, prev_row, prev_col, prev_w, prev_h, div_html, img_dir, total_w, total_h, total_img_w, total_img_h; var spacer vars.img_spacer; if(active_sec news || active_sec sale) { spacer 1; } var last_img 0; xpos 0; ypos 0; var last_no 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; } } scaleSecImages(sec_no, is_text); //positionSecImages(sec_no, 1); //open images if (!resize){ //alert(last_no); $(#img_tr + sec_no).empty(); for (var i1; ilast_no + 1; i++){ row parseInt(img_arraysec_noi.row); col parseInt(img_arraysec_noi.col); w parseInt(img_arraysec_noi.scaled_w); h parseInt(img_arraysec_noi.scaled_h); xpos parseInt(img_arraysec_noi.xpos); ypos parseInt(img_arraysec_noi.ypos); img_dir img_arraysec_noi.img_path; if (row > 0){ if(active_sec news || active_sec sale) { var pad 0; if(i > 1) { pad 1; } div_html td>img idtext_img + sec_no + _ + i + src + img_dir + style width: + w + px; height: + h + px; padding-left: + pad + px; visibility:hidden; >/td>; } else { div_html td>img classimage_border idtext_img + sec_no + _ + i + src + img_dir + style width: + w + px; height: + h + px; visibility:hidden; >/td>; } if (i last_no && active_sec ! news && active_sec ! sale){ div_html + td stylewidth: + spacer + px> /td>; } //div_html + div idtext_img_border + sec_no + _ + i + styleposition:absolute; visibility:hidden; border:px solid #ffffff;> /div>; $(#img_tr + sec_no).append(div_html); $(#text_img + sec_no + _ + i).data(img_no, i); $(#text_img + sec_no + _ + i).data(sec_no, sec_no); //debug(i + + img_dir + + sec_no); //alert(sec_no + + i); $(#text_img + sec_no + _ + i).load(function(){ var img_no $(this).data(img_no); var s_no $(this).data(sec_no); var next_sec s_no + 1; //debug(img_no + + s_no); //debug(active_sec + + is_text + + vars.sub_type); //alert(img_no); if(active_sec news || active_sec sale) { var is_vis $(#thumb + s_no).data(visible); if(sec_no 1) { $(#content_table).css({ display: none, visibility: visible }); $(#content_table).fadeIn(fast); } position_featured_text(); if(is_vis false) { $(#thumb + s_no).data(visible, true); $(#thumb + s_no).css({ display: none, visibility: visible }); $(#thumb + s_no + div).css({ display: none, visibility: visible }); $(#gal_name_bg + s_no).css({ display: none, visibility: visible }); $(#gal_name + s_no).css({ display: none, visibility: visible }); $(this).data(opened, true); //alert($(this).data(opened)); $(#gal_name + s_no).fadeIn(); $(#gal_name_bg + s_no).fadeIn(); $(#thumb + s_no).fadeIn(slow); $(#thumb + s_no + div).data(my_num, s_no); $(#thumb + s_no + div).fadeIn(slow, function() { var num $(this).data(my_num); //position_featured_text(); }); } $(this).css({ display: none, visibility: visible }); $(this).fadeIn(slow, function(){ }); if(next_sec sec_count) { // setSecImages(next_sec, false, sec_count, false); } } else { $(this).css({ display:block, visibility:hidden }); // if (sec_pos right || sec_pos left){ $(#content_div + s_no).css({ display:block, visibility:hidden }); $(#text_content_div + s_no).css({ display:block, visibility:hidden }); // debug($(this).height() + + $(#text_content_div + s_no).height() + + s_no); if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { position_news(s_no); } else if(is_text) { position_text(); } position_footer(); $(#text_content_div + s_no).css({ display:none, visibility:visible }); if (vars.sub_type news || vars.sub_type sale){ $(#text_content_div + s_no).fadeIn(slow, function() { }); } //} if (sec_pos right || sec_pos left && (vars.sub_type ! news && vars.sub_type ! sale)){ $(#text_content_div + s_no).fadeIn(); } /*if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { position_news(); } else if(is_text) { position_text(); }*/ $(#content_div + s_no).css({ display:none, visibility:visible }); $(#titles_div + s_no).css({ display:none, visibility:visible }); if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { $(#content_div + s_no).fadeIn(slow); $(#titles_div + s_no).fadeIn(slow); if(s_no 1) { if(vars.curr_news_page 1) { $(#prev_post).css({ visibility:hidden }); $(#next_post).css({ visibility:visible }); } if(vars.curr_news_page sec_count) { $(#next_post).css({ visibility:hidden }); $(#prev_post).css({ visibility:visible }); } } } else { $(#content_div + s_no).fadeIn(0); $(#titles_div + s_no).fadeIn(0); } if(is_text false && (active_sec ! news && active_sec ! sale)) { $(#content_holder_table).css({ display:none, visibility:visible }); $(#content_holder_table).fadeIn(fast); } //$(#site_div).height(getDocHeight()); $(this).css({ display:none, visibility:visible }); $(this).fadeIn(slow); } if ( (is_text || active_sec news || active_sec sale) && sec_no sec_count){ //if ( (is_text) && sec_no sec_count){ for (var isec_no + 1; i sec_count; i++){ var has_images sec_arrayi.has_images; //debug(i + + sec_count + + text_position); if(has_images true || active_sec news) { if(active_sec news || active_sec sale) { setSecImages(i, false, sec_count, false); } else { setSecImages(i, true, sec_count, false); } break; } } } }); } } //end for } // end resize total_w 0; total_h 0; for (var i1; i last_no; i++){ if ((img_arraysec_noi.xpos + img_arraysec_noi.scaled_w) > total_w){ total_w img_arraysec_noi.xpos + img_arraysec_noi.scaled_w - 1; } if ((img_arraysec_noi.ypos + img_arraysec_noi.scaled_h) > total_h){ total_h img_arraysec_noi.ypos + img_arraysec_noi.scaled_h; } } // //$(#img_container_div + sec_no).data(total_w, total_w); //$(#img_container_div + sec_no).data(total_h, total_h); //$(#img_container_div + sec_no).width(total_w); //$(#img_container_div + sec_no).height(total_h); //positionSecImages(sec_no, 1, is_text); //scaleSecImages(sec_no, is_text); /*vars.total_img_w 0; vars.total_img_h content_h; for (var i1; i last_no; i++){ vars.total_img_w + img_arraysec_noi.scaled_w; if (img_arraysec_noi.scaled_h > total_img_h){ //total_img_h img_arraysec_noi.scaled_w; } $(#text_img_border + sec_no + _ + i).width(img_arraysec_noi.scaled_w - 8 * 2 - 2); $(#text_img_border + sec_no + _ + i).height(img_arraysec_noi.scaled_h - 8 * 2 - 2); $(#text_img_border + sec_no + _ + i).css({ display: none, visibility: visible }); $(#text_img_border + sec_no + _ + i).fadeIn(); }*/ } else { if (active_sec text){ //position_text(); } else if (active_sec contact){ //position_contact(); } else if (active_sec proof){ //position_proof_sec(); } if (is_text && sec_no sec_count){ setSecImages(sec_no + 1, is_text, sec_count, resize); } vars.total_img_w 0; if (active_sec text){ vars.total_img_h $(#content_div + sec_no).height() + 30 * 2 - 8 * 2 - 2; } else { vars.total_img_h content_h - 8 * 2 - 2; } } } function position_icons(){ vars.icons_w 0; if (!$(#social_buttons).length && !$(#shop_buttons).length){ vars.social_h 30; } if ($(#social_buttons).length){ //if (vars.social_w $(#social_lbl).width()){ // vars.icons_w + $(#social_lbl).width() + 7; //} else { vars.icons_w + vars.social_w; //} vars.social_h $(#social_buttons).height(); } if ($(#shop_buttons).length){ vars.icons_w + $(#shop_buttons).width() + 7;//vars.shop_icon_w + 7 * 8; if (vars.social_h $(#shop_buttons).height()){ vars.social_h $(#shop_buttons).height(); } } if (!vars.mobile){ //vars.social_xpos win_w - vars.social_w - 30; if (vars.logo_pos left || vars.logo_pos center){ vars.social_xpos vars.interface_xpos + content_w - vars.social_w; } else { vars.social_xpos vars.interface_xpos - 10; } vars.social_xpos vars.interface_xpos - vars.side_menu_w - 7 + (( vars.side_menu_w - vars.social_w) / 2) - 35; if(vars.menu_position right) { vars.social_xpos vars.menu_xpos - 7 + ((vars.side_menu_w - vars.social_w) / 2) - 35; } else if(vars.menu_position top || vars.menu_position top_above_logo) { //vars.social_xpos vars.interface_xpos - 10; // + ((content_w - vars.icons_w) / 2) + $(#shop_buttons).width() ; //vars.social_xpos vars.interface_xpos + (( content_w - vars.social_w) / 2) - 10; vars.social_xpos vars.interface_xpos + content_w - vars.social_w - 10; if(vars.logo_pos right) { vars.social_xpos vars.interface_xpos - 10; } else if(vars.logo_pos center) { vars.social_xpos vars.interface_xpos - 10; // + (( content_w - vars.social_w) / 2) - 10; } if(vars.menu_bg_type full_window) { //vars.social_xpos 35; } } } else { vars.social_xpos win_w - vars.social_w - 7; } //SET FAVORITES BTN //icon_xpos vars.interface_xpos + content_padding; //icon_xpos vars.interface_xpos + content_w; if ($(#social_buttons).length){ //icon_xpos win_w - vars.social_w - 20; //vars.social_xpos icon_xpos; //vars.interface_ypos - - title_space + (title_space - vars.social_h)/2; //vars.social_ypos win_h - 45; if (!vars.mobile){ $(#social_buttons).css({ top: vars.social_ypos, left: vars.social_xpos }); } else { $(#social_buttons).width(win_w); $(#social_buttons).css({ bottom: 30, left: 0//vars.social_xpos }); } /*$(#social_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ if (!vars.mobile){ if (vars.social_w $(#social_lbl).width()){ //vars.social_xpos + $(#social_lbl).width() + 7; } else { //vars.social_xpos + vars.social_w + 7 * 8; } } } if (vars.mobile){ vars.social_xpos 7; } if ($(#shop_buttons).length){ //icon_xpos - vars.shop_icon_w; //vars.social_xpos + icon_xpos; var shop_ypos vars.logo_ypos + ((vars.logo_h - $(#shop_buttons).height()) / 2); //vars.site_icons_ypos; if(vars.menu_position top || vars.menu_position top_above_logo) { if (vars.logo_pos right || vars.logo_pos center){ var shop_xpos vars.interface_xpos - 5; } else { var shop_xpos vars.interface_xpos + content_w - $(#shop_buttons).width(); } var shop_xpos vars.interface_xpos + content_w - $(#shop_buttons).width(); ///vars.social_xpos - $(#shop_buttons).width() - 7; if(vars.logo_pos left) { var shop_xpos vars.interface_xpos - 5; } if(vars.menu_bg_type full_window) { //shop_xpos win_w - $(#shop_buttons).width() - 35 - 15; } var shop_ypos vars.social_ypos; } else if(vars.menu_position left) { //var shop_xpos vars.interface_xpos - vars.side_menu_w + 35 - 10; var shop_xpos vars.interface_xpos - vars.side_menu_w - 10 + (( vars.side_menu_w - $(#shop_buttons).width()) / 2) - 35; var shop_ypos vars.menu_ypos + vars.menu_h; } else if(vars.menu_position right) { var shop_ypos vars.menu_ypos + vars.menu_h; //var shop_xpos vars.menu_xpos + vars.side_menu_w - 70 - $(#shop_buttons).width(); var shop_xpos vars.menu_xpos + ((vars.side_menu_w - $(#shop_buttons).width()) / 2) - 35; } if (!vars.mobile){ $(#shop_buttons).css({ top: shop_ypos, left: shop_xpos //win_w - $(#shop_buttons).width() - 30 //vars.social_xpos }); } else { $(#shop_buttons).css({ bottom: 30, left: vars.social_xpos }); } /*$(#shop_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ if ($(#social_divider_div).length){ $(#social_divider_div).css({ top: 0, left: $(#favorites_btn).data(w) + 15 }); /*$(#social_divider_div).animate({ top: vars.social_ypos + $(#social_lbl).height() + 5 },fast, easeOutQuart);*/ } } //if ($(#login_buttons).length){ //icon_xpos - vars.shop_icon_w; //vars.social_xpos + icon_xpos; //if (!vars.mobile){ /*if (!$(#login_buttons).data(opened)){ $(#login_buttons).css({ visibility: hidden, display: block }); } $(#login_buttons).css({ top: ($(#logo_bg).height() - $(#login_buttons).height()) / 2, left: win_w - $(#login_buttons).width() - 50 //vars.social_xpos }); //} /*$(#shop_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ //} } function position_mobile_menu(type) { } function bluSetProfilePopup(){ if (vars.profile_logged){ bluShowProfileMenu(); } else { bluShowSignIn(); } } function bluShowProfileMenu(){ $(#profile_menu_bg_div).css({ top: 0, left: 0 }); $(#profile_menu_bg_div).width(win_w); $(#profile_menu_bg_div).height($(document).height()); $(#profile_menu_bg_div).fadeTo(fast, vars.popup_opacity); var top vars.interface_ypos;//(win_h - $(#profile_menu_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#profile_menu_div).css({ left: (win_w - $(#profile_menu_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#profile_menu_div).css({ display:none, visibility:visible }); $(#profile_menu_div).fadeIn(fast); } function bluHideProfileMenu(){ //$(#page).fadeTo(fast, 1); $(#profile_menu_bg_div).fadeOut(fast); $(#profile_menu_div).fadeOut(fast); } function bluShowSignIn(){ $(#signin_bg_div).css({ top: 0, left: 0 }); $(#signin_bg_div).width(win_w); $(#signin_bg_div).height($(document).height()); $(#signin_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#signin_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#signin_div).css({ left: (win_w - $(#signin_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#signin_div).css({ display:none, visibility:visible }); $(#signin_div).fadeIn(fast); } function bluHideSignIn(){ //$(#page).fadeTo(fast, 1); $(#signin_bg_div).fadeOut(fast); $(#signin_div).fadeOut(fast); } function bluShowAddAll(){ if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } $(#addall_bg_div).css({ top: 0, left: 0 }); $(#addall_bg_div).width(win_w); $(#addall_bg_div).height($(document).height()); $(#addall_bg_div).css({ left: -vars.interface_xpos, top: -vars.interface_ypos }); $(#addall_bg_div).fadeTo(fast, vars.popup_opacity); var goal_top -content_padding;//(win_h - $(#addall_div).height())/2 - vars.interface_ypos - 50; var goal_left (content_w - $(#addall_div).width())/2; if(vars.mobile) { goal_left 0; goal_top -100; } if(vars.ipad) { goal_top -vars.interface_ypos + 40; } $(#addall_div).css({ left: goal_left, top: goal_top }); //$(#page).fadeTo(fast, 0.1); $(#addall_div).css({ display:none, visibility:visible }); $(#addall_div).fadeIn(fast); } function bluHideAddAll(){ if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } //$(#page).fadeTo(fast, 1); $(#addall_bg_div).fadeOut(fast); $(#addall_div).fadeOut(fast); } function bluCartAddAll(){ if (!vars.profile_logged){ bluShowSignIn(); } else { var post $(#addall_cart_form).serialize(); $.post(blu_front/ANJA/blu_source/cart_add_all.php, post, function( data ) { //alert(data); var data_values data.split(&); //alert(data_values); if (data_values0 added){ vars.blucart_count parseInt(data_values1); for (var i1; iimg_count; i++){ image_arrayi.cart_status 1; } //show/hide checkout btn if (vars.blucart_count > 0){ bluOpenCart(); } } }); } } function bluProcessSignin(url, form_id){ var post $(# + form_id).serialize() + &client_id + vars.proof_id; $.post(blu_front/ANJA/blu_source/ + url + .php, post, function( data ) { //alert(data); var data_array data.split(&); if (data.indexOf(success) ! -1){ if (form_id forgot_pass_form && data_array3 forgot_pass){ $(#forgot_pass_email_tr).fadeOut(0); $(#forgot_pass_q_tr).fadeIn(0); $(#forgot_pass_sq).html(decodeURIComponent(data_array1)); $(#form_type).val(forgot_pass2); $(#forgot_pass_submit_form_btn).fadeOut(0); $(#forgot_pass_submit_form_btn2).fadeIn(0); $(#forgot_pass_submit_form_btn2).data(a, decodeURIComponent(data_array2)); $(#forgot_pass_submit_form_btn2).data(p, decodeURIComponent(data_array4)); $(#forgot_pass_submit_form_btn2).data(e, decodeURIComponent(data_array5)); } else { $(#email).val(); $(#pass).val(); vars.profile_logged true; vars.profile_name data_array3;//decodeURI(data_array3); bluHideSignIn(); bluSetAccess(init); } } else { if (form_id forgot_pass_form){ $(#forgot_pass_error_msg).html(data); } else { $(#signin_error_msg).html(data); } } }); } /* function bluProcessSignin(url, form_id){ var post $(# + form_id).serialize() + &client_id + vars.proof_id; $.post(blu_front/ANJA/blu_source/ + url + .php, post, function( data ) { //alert(data); var data_array data.split(&); if (data.indexOf(success) ! -1){ //$(#signin_btn).html(); // bluSetCookie(blu_profile_email, data_array1); // bluSetCookie(blu_profile_id, data_array2); $(#email).val(); $(#pass).val(); vars.profile_logged true; vars.profile_name data_array3;//decodeURI(data_array3); //vars.profile_name vars.profile_name.replace( , ); //alert(vars.profile_name); bluHideSignIn(); bluSetAccess(init); } else { $(#signin_error_msg).html(data); } }); } */ function bluSetCookie(c_name, value){ var exdate new Date(); if (value ){ var exdays -1; } else { var exdays 7; } exdate.setDate(exdate.getDate() + exdays); document.cookie c_name + +encodeURIComponent(value) + ((exdaysnull) ? : ;expires+exdate.toUTCString()) + ;path/; } function bluGetCookie(c_name){ if (document.cookie.length>0){ c_startdocument.cookie.indexOf(c_name + ); if (c_start!-1){ c_startc_start + c_name.length+1; c_enddocument.cookie.indexOf(;,c_start); if (c_end-1) c_enddocument.cookie.length; return decodeURIComponent(document.cookie.substring(c_start,c_end)); } else { return ; } } else { return ; } } function bluDeleteCookie(name) { bluSetCookie(name,); } function bluGetCookiesArray() { var cookies { }; if (document.cookie && document.cookie ! ) { var split document.cookie.split(;); for (var i 0; i split.length; i++) { var name_value spliti.split(); name_value0 name_value0.replace(/^ /, ); cookiesdecodeURIComponent(name_value0) decodeURIComponent(name_value1); } } return cookies; } function bluDisplayCookies(){ var msg ; var cookies bluGetCookiesArray(); for (var name in cookies) { msg + name: + name + value: + bluGetCookie(name) + br>; } //alert(msg); //$(body).append(div styleposition:absolute; z-index:1000000> + msg + /div>); } //bluDisplayCookies(); function bluSetLoginBtn(){ if (false){ //if ($(#login_buttons).data(opened)){ if (vars.profile_logged){ $(#signin_btn).fadeOut(0); $(#logout_btn).css({ visibility: hidden, display: block }); $(#profile_btn).css({ visibility: hidden, display: block }); //position var top vars.logo_ypos + ($(#logo_div).height() - $(#logout_btn).height()) / 2 - 8; //var login_xpos ((win_w - $(#login_form_div).width() ) / 2); //var login_w $(#login_form_div).width(); //if(login_xpos + login_w > signin_x) { var left win_w - $(#logout_btn).width() - 70; $(#logout_btn).css({ top: top, left: left }); left - $(#profile_btn).width() + 40; $(#profile_btn).css({ top: top, left: left }); if(!vars.mobile) { left - $(#profile_name_div).width(); $(#profile_name_div).css({ top: top + 5, left: left }); } //position_icons(); $(#logout_btn).css({ visibility: visible, display: none }); $(#profile_btn).css({ visibility: visible, display: none }); if(!vars.mobile) { $(#profile_name_div).css({ visibility: visible }); } $(#logout_btn).fadeIn(0); $(#profile_btn).fadeIn(0); } else { $(#signin_btn).css({ visibility: hidden, display: block }); //position //var top ($(#logo_bg).height() - $(#signin_btn).height()) / 2 - 8; //var left win_w - $(#signin_btn).width() - 70; //$(#signin_btn).css({ // top: top, // left: left //}); $(#signin_btn).css({ visibility: visible, display: none }); $(#signin_btn).fadeIn(0); $(#logout_btn).fadeOut(0); $(#profile_btn).fadeOut(0); } //} } } function bluLogOut(){ bluHideProfileMenu(); //bluDeleteCookie(blu_profile_id); //bluDeleteCookie(blu_profile_email); var post profile_id; $.post(blu_front/ANJA/blu_source/profile_signout_process.php, post, function( data ) { /* var data_array data.split(&); //alert(data_array1); if (data.indexOf(success) ! -1){ //$(#signin_btn).html(); bluSetCookie(blu_profile_email, data_array1); bluSetCookie(blu_profile_id, data_array2); $(#email).val(); $(#pass).val(); bluSetLogin(); bluHideSignIn(); } else { $(#signin_error_msg).html(data); }*/ vars.profile_logged false; vars.proof_logged false; bluSetAccess(); }); } function bluSetAccess(type){ //alert(vars.profile_logged); //alert(type + + active_sec + + vars.profile_logged + + vars.proof_logged); //check if signed in if (vars.profile_logged){ var post ; $.post(blu_front/ANJA/blu_source/profile_check_galleries.php, post, function( data ) { data_array data.split(&); //alert(data); var gal_count parseInt(data_array0); vars.profile_gal_count gal_count; vars.profile_name data_array1; if (gal_count > 0){ vars.blucart_count data_array2; //vars.proof_id data_array4; //alert(set: + vars.proof_id); } //alert(vars.blucart_count); //no galleries associated with profile if ($(#profile_name_div).html() && !vars.mobile){ $(#profile_name_div).html(vars.profile_name); //bluSetLoginBtn(); } else { //bluSetLoginBtn(); } if (gal_count 0){ //fade out gallery button //$(#btn_div + vars.proof_btn_no).data(show, false); //$(#btn_div + vars.proof_btn_no).fadeOut(0); //position_menu(); //direct to home page //handle single gallery } else if (gal_count 1){ //show gallery btn //$(#btn_div + vars.proof_btn_no).data(show, true); //$(#btn_div + vars.proof_btn_no).css({ // display: none, // visibility: visible //}); //$(#btn_div + vars.proof_btn_no).fadeIn(0); //position_menu(); //alert(active_sec + + type); //open gallery //if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery && active_sec ! proof && active_sec ! profile && active_sec ! cart && type ! init){ //} //handle multiple galleries } else if (gal_count > 1){ } }); //check if logged into a proofing gallery } else if (vars.proof_logged){ //$(#btn_div + vars.proof_btn_no).data(show, true); //$(#btn_div + vars.proof_btn_no).css({ // display: none, // visibility: visible //}); //$(#btn_div + vars.proof_btn_no).fadeIn(0); //position_menu(); if (type init && active_sec proof_gallery){ $.address.path(menu_array1.rel); } //check if not logged } else { //hide gallery button //$(#btn_div + vars.proof_btn_no).data(show, false); //$(#btn_div + vars.proof_btn_no).fadeOut(0); //position_menu(); //check if in gallery and redirect to home //if (active_sec proof_gallery || active_sec profile || active_sec cart){ if (active_sec proof_gallery || active_sec profile || active_sec cart || (active_sec && type proof)){ $.address.path(menu_array1.rel); } if(!vars.mobile) { $(#profile_name_div).html(); } //bluSetLoginBtn(); } }; function bluShowProfile(type){ bluHideProfileMenu(); vars.profile_page_type type; $.address.path(profile); } function debug(string){ var debug_str string; $(body).append(div styleposition:absolute; z-index:100000> + debug_str + /div>br>); } // //CART FUNCTIONS function bluDisplayCartInfo(n, src){ if (!vars.profile_logged && false){ bluShowSignIn(); } else { //open if (!$(# + src + n + cart_btn).data(opened)){ if (src thumb){ $(# + src + n + cart_info_div).css({ top: - + vars.thumb_dist/2 + px, left: - + (vars.thumb_dist/2 + 1) + px }); } else { $(#img_close_btn + n).fadeIn(fast); if ($(# + src + n + cart_btn).length){ $(# + src + n + cart_btn).fadeOut(0); } } // alert(left: - + (vars.thumb_dist - 1) + px); //set z-index for (var i1; iimg_count; i++){ if (i n){ $(# + src + i + div).css({ z-index: (12000) }); } else { $(# + src + i + div).css({ z-index: (i + 11000) }); if ($(#img_close_btn + i).length){ $(#img_close_btn + i).fadeOut(0); } if ($(# + src + i + cart_btn).length){ $(# + src + i + cart_btn).data(opened, false); $(# + src + i + cart_btn).fadeIn(fast); } $(# + src + i + cart_info_div).fadeOut(0); } } $(# + src + n + cart_btn).data(opened, true); if (vars.blucart_count > 0){ $(# + src + _checkout_btn + n).fadeIn(0); } else { $(# + src + _checkout_btn + n).fadeOut(0); } $(# + src + n + cart_info_div).fadeIn(fast); vars.total_gal_h $(#page_div).height() + content_padding * 2 + 50 + 55; if (!vars.mobile && $(# + src + n + div).length){ //alert($(#thumb + n + cart_form).height()); if (($(# + src + n + div).position().top + $(# + src + n + div).height()) > (vars.total_gal_h - $(#thumb + n + cart_form).height() - 50)){ //vars.total_gal_h + $(#thumb + n + cart_form).height() + 50; } } else { $(#page_div).css({ padding-bottom: 450px }); } //close } else { $(# + src + n + cart_btn).data(opened, false); $(# + src + n + cart_info_div).fadeOut(fast); if ($(#img_close_btn + n).length){ $(#img_close_btn + n).fadeOut(0); } if ($(# + src + n + cart_btn).length){ $(# + src + n + cart_btn).fadeIn(fast); } if (!vars.mobile){ vars.total_gal_h $(#page_div).height() + content_padding * 2 + 50 + 15; } else { $(#page_div).css({ padding-bottom: (vars.footer_h + content_padding) + px }); } } position_footer(); } } //add image to cart function bluCartAddItem(num, img_id, src){ if (!vars.profile_logged){ bluShowSignIn(); } else { //set status msg var post_array $(# + src + num + cart_form).serialize(); //alert(post_array); $(# + src + _msg + num).html(Processing...); var form_values post_array.split(&); //var print_opt_id 0; //var download_opt_id 0; //validate qty var qty_valid true; var opt_selected false; var opt_id; var var_array; var download_id 0; var download_id2 0; for (var i0; i form_values.length; i++){ //check if qty entered if ( form_valuesi.indexOf(print_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1;//.replace( /^\D+/g, ); if (!bluCartCheckInteger($(# + src + img_id + _ + opt_id + cart_opt_qty).val())){ qty_valid false; //break; } else { //update thumb options if (src img){ $(#thumb + img_id + _ + opt_id + cart_opt_qty).val($(# + src + img_id + _ + opt_id + cart_opt_qty).val()); } } } //check if any option selected if ( form_valuesi.indexOf(print_opt_check) ! -1 || form_valuesi.indexOf(download_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1; if ($(# + src + img_id + _ + opt_id + cart_opt_check).attr(checked) checked && $(# + src + img_id + _ + opt_id + cart_opt_qty).val() > 0 ){ opt_selected true; if (form_valuesi.indexOf(download_opt_check) ! -1){ if (download_id 0){ download_id opt_id; } else { download_id2 opt_id; } } if (src img){ $(#thumb + img_id + _ + opt_id + cart_opt_check).attr(checked, checked); } //break; } } /*if ( form_valuesi.indexOf(print_opt_radio) ! -1 ){ print_opt_id form_valuesi.replace( /^\D+/g, ); } if ( form_valuesi.indexOf(download_option) ! -1 ){ download_opt_id form_valuesi.replace( /^\D+/g, ); }*/ } //var qty_valid bluCartCheckInteger($(#thumb + num + _ + print_opt_num + cart_opt_qty).val()); //var opt_num form_values0.replace( /^\D+/g, ); //alert(form_values0); //alert(qty_valid + + opt_selected); if (qty_valid && opt_selected){ $.post(blu_front/ANJA/blu_source/cart_add_item.php, post_array, function( data ) { //alert(data); var data_values data.split(&); if (data_values0 added){ vars.blucart_count data_values1; var qty 0; for (var i0; i form_values.length; i++){ if ( form_valuesi.indexOf(print_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1; } if ( form_valuesi.indexOf(print_qty) ! -1){ var_array form_valuesi.split(); qty var_array1; } for (var d1; dimage_arraynum.cart_status.length; d++){ if (image_arraynum.cart_statusd.id opt_id){ //image_arraynum.cart_statusd.qty + qty; } } } if (download_id > 0){ $(# + src + img_id + _ + download_id + cart_opt_div).fadeTo(0, 0.5); $(# + src + img_id + _ + download_id + cart_opt_check).attr(disabled, true); //update thumb options if (src img){ $(#thumb + img_id + _ + download_id + cart_opt_div).fadeTo(0, 0.5); $(#thumb + img_id + _ + download_id + cart_opt_check).attr(disabled, true); } } if (download_id2 > 0){ $(# + src + img_id + _ + download_id2 + cart_opt_div).fadeTo(0, 0.3); $(# + src + img_id + _ + download_id2 + cart_opt_check).attr(disabled, true); //update thumb options if (src img){ $(#thumb + img_id + _ + download_id2 + cart_opt_div).fadeTo(0, 0.3); $(#thumb + img_id + _ + download_id2 + cart_opt_check).attr(disabled, true); } } bluCartUpdateOptions(thumb, num, img_id); //show/hide checkout btn if (vars.blucart_count > 0){ $(# + src + _checkout_btn + num).fadeIn(fast); } else { $(# + src + _checkout_btn + num).fadeOut(fast); } $(# + src + _msg + num).html(The option has been added to your cart.); } }); } else { if (!qty_valid){ $(# + src + _msg + num).html(Please enter valid quantity number.); } else if (!opt_selected){ $(# + src + _msg + num).html(Please select an option.); } } //end qty valid } } function bluCartUpdateOptions(src, n, img_id){ var added_count 0; for (var i1; idownload_opt_array.length; i++){ //var download_added false; for (var d1; dimage_arrayn.cart_status.length; d++){ opt_id download_opt_arrayi.id; //alert(image_arrayn.cart_statusd.id + + opt_id + + image_arrayn.cart_statusd.status + + download_opt_arrayi.type); //check if download added or purchased and disable if (image_arrayn.cart_statusd.id opt_id && (image_arrayn.cart_statusd.status 1 || image_arrayn.cart_statusd.status 2) && download_opt_arrayi.type Image){ $(# + src + img_id +_ + opt_id + cart_opt_div).fadeTo(0, 0.5); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(disabled, true); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(checked, checked); added_count++; //break; } else if (image_arrayn.cart_statusd.id opt_id && image_arrayn.cart_statusd.status 1 && download_opt_arrayi.type ! Image){ //alert($(# + src + img_id +_ + opt_id + cart_opt_check).length); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(checked, checked); $(# + src + img_id +_ + opt_id + cart_opt_qty).val(image_arrayn.cart_statusd.qty); added_count++; } } } return added_count; } function bluCartCheckInteger(n){ var intRegex /^\d+$/; //integers var qty_valid true; if(!intRegex.test(n)){ qty_valid false; } return qty_valid; } function bluCartRemoveItem(id){ var post &id + id; $.post(blu_front/ANJA/blu_source/cart_remove_item.php, post, function( data ) { //alert(data); if (data removed){ $(#page).load(blu_front/ANJA/blu_source/cart.php); //var new_sub_price bluCartFormatFloat($(#subtotal_price).html()) - bluCartFormatFloat($(#item_price + id).html()); //$(#subtotal_price).html(bluCartFormatFloat(new_sub_price)); //var new_price bluCartFormatFloat($(#total_price).html()) - bluCartFormatFloat($(#item_price + id).html()); //$(#total_price).html(bluCartFormatFloat(new_price)); // $(#cart_item + id).remove(); } }); } function bluCartRemoveAll(){ var post ; $.post(blu_front/ANJA/blu_source/cart_remove_all.php, post, function( data ) { //alert(data); if (data removed){ $(#page).load(blu_front/ANJA/blu_source/cart.php); } }); } function bluCartDownloadItem(form_id){ $.post(blu_front/ANJA/blu_source/cart_download_item.php, $(# + form_id).serialize(), function( data ) { //alert(data); if (data added){ } }); } function bluCartShowUpdate(item_id, opt_id, img_id, gal_id, gal_type, custom_pricing, item_qty, opt_type){ //list prices var opts_html form iditem_cart_form>; for (var i1; idownload_opt_array.length; i++){ //alert(download_opt_arrayi.gal_id + + gal_id + + download_opt_arrayi.gal_type + + gal_type + + custom_pricing); if( (download_opt_arrayi.gal_id gal_id && download_opt_arrayi.gal_type gal_type && custom_pricing yes) || (custom_pricing ! yes && download_opt_arrayi.gal_id ) ) { //alert(opt_id + + download_opt_arrayi.id); if (opt_id download_opt_arrayi.id){ opts_html + div iditem_ + i + cart_opt_div styleheight:30px; border-bottom:1px solid #ffffff; margin-bottom:10px>; opts_html + div classthumb_price_lbl stylewidth:100%; >; var checked checked; var qty item_qty; /*if (opt_id download_opt_arrayi.id && download_opt_arrayi.type Image){ checked checked; qty item_qty; } */ if(download_opt_arrayi.type ! Image) { opts_html + div stylefloat:left; padding-top:8px; border:0px solid;> + download_opt_arrayi.label + - $ + download_opt_arrayi.price + /div>; opts_html + div stylefloat:right; border:0px solid>; opts_html + span stylecolor:#9ba019; padding-right:5px>QTY:/span>; opts_html + input idprint_qty + download_opt_arrayi.id + nameprint_qty + download_opt_arrayi.id + typetext size4 value + qty + >; opts_html + /div>; opts_html + /div>; } else { opts_html + input idthumb + i + cart_opt_radio namedownload_option typecheckbox value + download_opt_arrayi.id + + checked + >; opts_html + span stylepadding-left:10px> + download_opt_arrayi.label + - $ + download_opt_arrayi.price + /span>; opts_html + /div>; opts_html + div stylefont-size:11px; padding-left:50px> + download_opt_arrayi.w + x + download_opt_arrayi.h + px./div>; } opts_html + /div>; } } } opts_html + div idcart_update_error_msg stylecolor:#9ba019; classthumb_msg>/div>; opts_html + div>input nameitem_id typehidden value + item_id + >/div>; opts_html + div>input nameopt_id typehidden value + opt_id + >/div>; opts_html + div>input nameimg_id typehidden value + img_id + >/div>; opts_html + div>input namegal_id typehidden value + gal_id + >/div>; opts_html + div>input namegal_type typehidden value + gal_type + >/div>; opts_html + div>input nameorig_opt_type typehidden value + opt_type + >/div>; opts_html +/form>; //add btn opts_html + div classthumb_cart_btn onclickbluCartUpdateItem( + item_id + , + opt_id + )>; //thumb_str + img height22 srcblu_front/ANJA/v1site_images/graphics/cart.png alignabsmiddle stylepadding-right:5px; margin-bottom:3px/>; opts_html + UPDATE; opts_html + /div>; $(#edit_pricing_holder).html(opts_html); $(#edit_pricing_bg_div).css({ top: 0, left: 0 }); $(#edit_pricing_bg_div).width(win_w); $(#edit_pricing_bg_div).height($(document).height()); $(#edit_pricing_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#edit_pricing_div).height())/2; if(vars.mobile) { top 40; } $(#edit_pricing_div).css({ left: (win_w - $(#edit_pricing_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#edit_pricing_div).css({ display:none, visibility:visible }); $(#edit_pricing_div).fadeIn(fast); } function bluCartHideUpdate(){ //$(#page).fadeTo(fast, 1); $(#edit_pricing_bg_div).fadeOut(fast); $(#edit_pricing_div).fadeOut(fast); } //add image to cart function bluCartUpdateItem(item_id, opt_id){ if (!vars.profile_logged){ bluShowSignIn(); } else { var qty_valid bluCartCheckInteger($(#print_qty + opt_id).val()); if (qty_valid){ var post_array $(#item_cart_form).serialize(); //alert(post_array); $.post(blu_front/ANJA/blu_source/cart_update_item.php, post_array, function( data ) { //alert(data); var data_values data.split(&); if (data updated){ //$.address.path(cart); location.reload(); } else { $(#cart_update_error_msg).html(data); } }); } else { $(#cart_update_error_msg).html(Please enter valid quantity number.); } } } function bluCartSetQuantity(img_id, opt_id, src){ //alert($(# + check_id).attr(checked)); //$(inputname*print_qty).val(0); if (src ! all){ //add single image var checkbox $(# + src + img_id + _ + opt_id + cart_opt_check); var qty_box $(# + src + img_id + _ + opt_id + cart_opt_qty); } else { //add all var checkbox $(# + src + opt_id + cart_opt_check); var qty_box $(#print_qty + opt_id); } //alert(checkbox); if (checkbox.attr(checked) checked){ if (qty_box.val() 0 || qty_box.val() ){ qty_box.val(1); } } else { qty_box.val(0); } } function bluCartDisplayCaption(state, btn_id, txt){ //$(# + btn_id).append(div classcart_btn_caption id + btn_id + caption> + txt + /div>); if (state){ $(# + btn_id + caption).css({ top: $(# + btn_id).position().top - 30, left: $(# + btn_id).position().left - $(# + btn_id + caption).width() }); //$(# + btn_id + caption).fadeIn(); } else { //$(# + btn_id + caption).fadeOut(); } } function bluCartUpdateCount(){ } function bluUpdateFavorites(n, img_id, gal_id, src, gtype){ if (!vars.profile_logged){ bluShowSignIn(); } else { var post_array img_id + img_id + &gal_id + gal_id + &action + image_arrayn.fav_action + &gal_type + gtype; $.post(blu_front/ANJA/blu_source/favorite_update.php, post_array, function( data ) { if (data added){ image_arrayn.fav_status 1; image_arrayn.fav_action remove; if (src thumb){ $(#thumb + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/fav_added-g.png); } else { $(#img + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/fav_added-g.png); } } else if (data removed){ image_arrayn.fav_status 0; image_arrayn.fav_action add; if (src thumb){ $(#thumb + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/favorites-g.png); } else { $(#img + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/favorites-g.png); } } else { //alert(data); } }); } } function bluSetProfilesForm(){ var post ; $.post(blu_front/ANJA/blu_source/profile_get_info.php, post, function( data ) { if (data ! ){ var data_array data.split(&); var p data_array0; var q data_array1; var a data_array2; var news data_array3; $(#profile_pass1).val(p); $(#profile_pass2).val(p); //$(#profile_sa).val(p); $(#profile_news + news).attr(checked, true); } }); } function bluUpdateProfile(url, form_id){ $(#profile_form_fields).fadeTo(fast, 0.5); $.post(blu_front/ANJA/blu_source/ + url + .php, $(# + form_id).serialize(), function( data ) { if (data success){ $(#profile_error_msg).html(); $(#profile_form_fields).fadeTo(fast, 1); if (vars.cart_need_phone){ vars.cart_need_phone false; $.address.path(cart); if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } if ($(#logo_div).length){ $(#logo_div).fadeIn(fast); } if ($(#footer_div).length){ $(#footer_div).fadeIn(fast); } } } else { $(#profile_form_fields).fadeTo(fast, 1); $(#profile_error_msg).html(data); } }); } function bluShowHideProfileSettings(){ if ($(#profile_settings_btn).data(opened)){ $(#profile_settings_btn).data(opened, false); //$(#profile_settings_btn).html(SHOW / UPDATE PROFILE SETTINGS); $(#profile_form_fields).fadeOut(fast); $(#profile_bg_div).fadeOut(fast); if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } if ($(#logo_div).length){ $(#logo_div).fadeIn(fast); } if ($(#footer_div).length){ $(#footer_div).fadeIn(fast); } } else { if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } if ($(#logo_div).length){ $(#logo_div).fadeOut(fast); } if ($(#footer_div).length){ $(#footer_div).fadeOut(fast); } $(#profile_bg_div).css({ left: 0, top: 0 }); var form_w $(#profile_form_fields).width(); var form_h $(#profile_form_fields).height(); $(#profile_form_fields).css({ left: ((win_w - form_w) / 2), top: ((win_h - form_h) / 2) }); $(#profile_bg_div).width(win_w); $(#profile_bg_div).height($(document).height()); $(#profile_bg_div).fadeTo(fast, vars.popup_opacity); $(#profile_settings_btn).data(opened, true); //$(#profile_settings_btn).html(Hide); $(#profile_form_fields).css({ visibility:hidden, display:block }); position_purchases(); $(#profile_form_fields).css({ visibility:visible, display:none }); $(#profile_form_fields).fadeIn(fast); } } function bluShowHideMasterLogin(){ var opened $(#popup_login_form_div).data(opened); //alert(opened); if ( opened true){ $(#popup_login_form_div).fadeOut(fast); $(#popup_login_bg_div).fadeOut(fast); $(#popup_login_form_div).data(opened, false); } else { if (!vars.proof_logged){ $(#popup_login_bg_div).css({ top: 0 }); $(#popup_login_bg_div).width(win_w); $(#popup_login_bg_div).height($(document).height()); $(#popup_login_bg_div).fadeTo(fast, vars.popup_opacity); $(#popup_login_form_div).css({ visibility:hidden, display:block }); var left ((win_w - $(#popup_login_form_div).width()) / 2); var top (win_h - $(#popup_login_form_div).height()) / 2 ; //vars.interface_ypos + 40;//(($(document).height() - $(#popup_login_form_div).height()) / 2); if(vars.mobile) { top 0; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#popup_login_form_div).css({ left: left, top: top }); $(#popup_login_form_div).css({ visibility:visible, display:none }); $(#popup_login_form_div).fadeIn(fast); $(#popup_login_form_div).data(opened, true); } } } function bluShowHideContact(){ var opened $(#popup_contact_div).data(opened); //alert(opened); if ( opened true){ $(#popup_contact_div).fadeOut(fast, function(){ $(#contact_content_div).empty(); }); $(#popup_contact_bg_div).fadeOut(fast); $(#popup_contact_div).data(opened, false); } else { $(#contact_content_div).load(blu_front/ANJA//blu_source/contact.php?active_btn5&sec_id376, function(){ $(#popup_contact_div).css({ visibility:hidden, display:block }); var left (win_w - $(#popup_contact_div).width()) / 2; var top (win_h - $(#popup_contact_div).height()) / 2 ; if (top 20){ top 20; } if(vars.mobile) { top 40; left 0; /*var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40;*/ } $(#popup_contact_div).css({ left: left, top: top }); if (!$(#popup_contact_div).data(loaded)){ $(#popup_contact_div).data(loaded, true); //$(#contact_hline1).width($(#contact_content_div).width() - 40); //var border_x1 40; //var border_x2 $(#contact_content_div).width(); //var border_y 1; //var contact_hline1 Raphael(contact_hline1); //contact_hline1.clear(); //contact_hline1.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); } $(#popup_contact_div).css({ visibility:visible, display:none }); $(#popup_contact_div).fadeIn(fast); $(#popup_contact_div).data(opened, true); }); $(#popup_contact_bg_div).css({ top: 0 }); $(#popup_contact_bg_div).width(win_w); $(#popup_contact_bg_div).height($(document).height()); $(#popup_contact_bg_div).fadeTo(fast, vars.popup_opacity); } } function bluShowLoader(top) { var loader_left (win_w)/2; $(#loader_div).css({ visibility: visible, display: none, top: top, left: loader_left, position:absolute }); vars.spinner null; $(#loader_div).empty(); var opts { color: #666666, // #rgb or #rrggbb or array of colors lines: 100, // The number of lines to draw length: 2, // The length of each line width: 1, // The line thickness radius: 8, // The radius of the inner circle corners: 0, // Corner roundness (0..1) rotate: 0, // The rotation offset direction: 1, // 1: clockwise, -1: counterclockwise speed: 1, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(loader_div); vars.spinner new Spinner(opts).spin(target); $(#loader_div).fadeTo(.5, .7); } function bluShowGalLoader() { $(#gal_loader_div).css({ visibility: visible, display: none, padding-left:50% }); vars.gal_spinner null; $(#gal_loader_div).empty(); var opts { color: #666666, // #rgb or #rrggbb or array of colors lines: 100, // The number of lines to draw length: 2, // The length of each line width: 1, // The line thickness radius: 8, // The radius of the inner circle corners: 0, // Corner roundness (0..1) rotate: 0, // The rotation offset direction: 1, // 1: clockwise, -1: counterclockwise speed: 1, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(gal_loader_div); vars.gal_spinner new Spinner(opts).spin(target); $(#gal_loader_div).fadeTo(.5, .7); } function bluHideLoader() { if (vars.spinner instanceof Spinner){ vars.spinner.stop(); } $(#loader_div).css({ display:none, top:0 }); } function bluHideGalLoader() { if (vars.gal_spinner instanceof Spinner){ vars.gal_spinner.stop(); } $(#gal_loader_div).css({ display:none //top:0 }); } function bluCartFormatFloat(str){ return parseFloat(str).toFixed(2); } //$(window).scroll(function (event) { /* var opacity $(#back_to_top).css(opacity); if ($(#site_div).height() getDocHeight()){ $(#site_div).height(win_h); $(#site_div).height(getDocHeight()); } if($(window).scrollTop() > 0) { //debug(opacity); if($(#back_to_top).data(opened) false) { $(#back_to_top).css({ display: none, visibility: visible }); $(#back_to_top).data(opened, true); $(#back_to_top).fadeIn(); } } else { $(#back_to_top).data(opened, false); $(#back_to_top).fadeOut(); } */ //}); function clearCanvas(elem){ elem.clear(); } function bluShowZipProgress(id){ if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } $(#zip_progress_bg_div).css({ top: 0, left: 0 }); $(#zip_progress_bg_div).width(win_w); $(#zip_progress_bg_div).height($(document).height()); $(#zip_progress_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#zip_progress_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#zip_progress_div).css({ left: (win_w - $(#zip_progress_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#zip_progress_div).css({ display:none, visibility:visible }); $(#zip_progress_div).fadeIn(0); //window.location.href $(# + id).data(href); var dest $(# + id).data(href); if (typeof(dest) ! undefined && dest ! ) { setTimeout(function(){window.location.href dest;}, 1000); } } function bluHideZipProgress(){ $(#zip_progress_div).fadeOut(); $(#zip_progress_bg_div).fadeOut(); } function killHomeTimers() { var home_sec_count vars.home_sec_count; for(var i 1; i home_sec_count; i++) { var img_count $(#home_section + i).data(img_count); if($(#home_section + i).length && img_count > 1) { var timer_id $(#home_section + i).data(timer_id); clearInterval(timer_id); } } }/script>!-- INCLUDE FLASH EMBED SCRIPTS -->/body>/html>
Port 443
HTTP/1.1 200 OKDate: Mon, 06 Jan 2025 10:32:30 GMTServer: Apache/2Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check0, pre-check0Pragma: no-cacheSet-Cookie: PHPSESSIDdop5j8tb3gdteprnm4si5p1vp2; path/Upgrade: h2,h2cConnection: UpgradeVary: Accept-Encoding,User-AgentTransfer-Encoding: chunkedContent-Type: text/html; charsetUTF-8 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>html>head>title>Danielle Eileen Photography/title>meta namekeywords contentDanielle Eileen Photography, Danielle Eileen Photographer, Danielle Eileen, Danielle, Eileen, Photography, Photographer, Orland Park Photography, Orland Park Photographer, Orland Park, Orland, Park, Photography, Photographer, Child Photography, Child Photographer, Baby Photography, Baby Photographer, Newborn Photography, Newborn Photographer, Wedding Photography, Wedding Photographer, Tinley Park, Palos Park, Frankfort, New Lenox, Mokena, Lemont, Palos, Palos Hills, Chicago, Illinois, Tinley, Engagement Photography, Engagement Photographer, Photos, Photo, Portraits, Portrait, Artwork, Art, Mini Sessions, Mini Session, Mommy and Me, Daddy and Me>meta namedescription contentOrland Park, IL - Children and Family Photographer, Wedding Photographer>link relshortcut icon hrefblu_front/ANJA/v1site_images/favicon.ico typeimage/vnd.microsoft.icon>link relicon hrefblu_front/ANJA/v1site_images/favicon.ico typeimage/vnd.microsoft.icon> link hrefhttp://fonts.googleapis.com/css?familyParisienne|Open+Sans|EB+Garamond|Cinzel|Quicksand|Ruthie|Qwigley|Josefin+Sans relstylesheet typetext/css>style typetext/css> html { overflow: auto; -webkit-text-size-adjust: none; } body{ font-family:Open Sans, sans-serif; font-size:13px; color:#666666; background-color:#ffffff; margin:0px; padding:0px; padding-bottom:0px; padding-right:0px; } .header_pattern{ background-repeat:repeat-x; background-size:50%; height:0px; width:100%; margin:0px; padding-bottom:10px; top:10px; padding-right:0px; border:0px solid; } table { margin:0px; padding:0px; } p, li, span { line-height:1.8em; margin:0px; padding:0px; } a { text-decoration:none; color:#666666; } .shell { position: relative !important; z-index: 9999999; } .home_title p span { line-height:1em; margin:0px; padding:0px; } .close_x { text-align:center; color:#000000; border: 0px solid #000000; padding:0px; padding-top:0px; padding-left:1px; padding-bottom:1px; width:22px; height:22px; cursor:pointer; font-family:Arial, Helvetica, sans-serif; font-size:22px; position:relative; } .close_btn_bg{ color:#000000; background-color:#c6c6c6; height:25px; } .logo { padding:0px; padding-right:0px; padding-bottom:0px; } .logo1{ color:#000000; font-family:Parisienne, cursive; font-size: Array; text-decoration:none; } .logo2{ color:#000000; font-family:Cinzel; font-size: 14px; text-decoration:none; } /* .loader { color:#; background-color:#9ba019; font-family:Helvetica, Arial, sans-serif; font-size: 13px; padding:5px; position:absolute; visibility:hidden; text-align:center } */ .footer_bg { height: 40px; padding:0px; width:100%; } .menu_btn_line { background-color:#9ba019; position:absolute; visibility:hidden; height:4px; } .title { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 23px; padding-top:0px; padding-bottom: 0px; padding-right: 0px; position:relative; text-align:center; } .title_date { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 19px; padding-top:0px; padding-bottom:0px; padding-right: 0px; position:relative; text-align:center; white-space:nowrap; } .signin_title { color:#000000; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 23px; padding-top:40px; padding-bottom:20px; padding-right: 0px; position:absolute; text-align:left; } .title_line { position:absolute; /*visibility:hidden;*/ border-top:1px solid #c6c6c6; height:1px; background:none; } .title_home { color:#000000; font-family:Cinzel, serif; font-size: 23px; padding-top:0px; padding-bottom:0px; padding-right: 10px; padding-left:10px; position:absolute; text-align:center; } .blog_gal_img_title { padding-left:0px; text-align:left; border:0px solid; color:#666666; font-size:13px; font-family:Open Sans, sans-serif; } .featured_title_bg { background-color:#ffffff; cursor:pointer; position:absolute; /* visibility:hidden; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity60); filter: alpha(opacity60); -moz-opacity:0.60; -khtml-opacity: 0.60; opacity: 0.60; */ } .featured_title { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 16px; cursor:pointer; padding-top:10px; padding-bottom:10px; text-align:center; width:100%; position:absolute; vertical-align:middle; } .featured_text_title { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 16px; cursor:pointer; } .featured_text_date { color:#9ba019; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 11; cursor:pointer; } .featured_text_title_content { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Open Sans, sans-serif; font-size: 13px; cursor:pointer; padding-top:10px; padding-bottom:10px; text-align:center; width:100%; position:absolute; vertical-align:middle; } .featured_text_content { color:#fcfcfc; /*background-color:#9ba019;*/ font-family:Open Sans, sans-serif; font-size: 13px; line-height: 1.8em; } .featured_home_title { color:#666666; /*background-color:#9ba019;*/ font-family:Cinzel, serif; font-size: 12px; /*padding-top:10px; padding-bottom:10px; text-align:center;*/ position:absolute; /* -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity60); filter: alpha(opacity60); -moz-opacity:0.60; -khtml-opacity: 0.60; opacity: 0.60; */ } .title2 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .title2b { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .title3 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 16px; padding-top:2px; padding-bottom:3px; padding-left: 10px; padding-right:10px; position:absolute; text-align:left; visibility:hidden; } h1 { color:#fcfcfc; font-family:Cinzel, serif; font-size: 23px; padding:0px; margin:0px; } .title_featured { background-color:#c6c6c6; font-family:Cinzel, serif; font-size: 23px; padding-top:20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; position:absolute; text-align:left; visibility:hidden; } .btn, .btn_over { font-family:Cinzel, serif; font-size: 12px; padding-top:5px; padding-bottom:5px; padding-left: 0px; padding-right:0px; text-align:center; cursor:pointer; } .btn { color:#000000; border: 1px solid #9ba019; } .btn_over { color:#ffffff; border:1px solid #ffffff; } .btn_bullet { background-color:#000000; height:3px; width:3px; -moz-border-radius: 3px; border-radius: 3px; visibility:hidden; } .menu_btn_over { position:absolute; visibility:hidden; cursor:default; border-bottom:0px solid #000000; width:1px; background-color:#ffffff; } .menu_bg_line { position:absolute; border-top:1px solid #ffffff; height:1px; width:100%; } .menu_bg_line_double { position:absolute; border-top:1px solid #c6c6c6; height:1px; width:100%; } .menu_bg_line_double_bottom { position:absolute; border-top:2px solid #c6c6c6; height:1px; width:100%; } .menu_bg_ribbon_bg { position:absolute; width: 22; background-color:#c6c6c6 } .menu_bg_arrow_right { position:absolute; width: 0; height: 0; border-top: 22px solid transparent; border-bottom: 22px solid transparent; border-left: 40px solid #ffffff; } .menu_bg_arrow_left { position:absolute; width: 0; height: 0; border-top: 22px solid transparent; border-bottom: 22px solid transparent; border-right: 40px solid #ffffff; } .menu_div { position:absolute; border-top:0px solid #c6c6c6; border-bottom:0px solid #c6c6c6; display:inline-block; padding-top:0px; padding-bottom:0px; visibility:hidden; } .menu_div:before { content: ; display:block; position:absolute; left:0; top:4px; width:100%; background-color:#c6c6c6; height: 0px; } .menu_div:after { content: ; display:block; position:absolute; left:0; bottom:4px; width:100%; background-color:#c6c6c6; height: 0px; } .view_btn { font-family:Cinzel, serif; font-size: px; padding-top:0px; padding-bottom:20px; padding-left: 0px; padding-right:0px; cursor:pointer; } .video_view_btn { cursor:pointer; /*-moz-border-radius: 5px; border-radius: 5px;*/ position:absolute; } .video_view_text { font-family:Cinzel, serif; font-size: 30px; padding-top: 20px; padding-bottom:20px; padding-left: 0px; padding-right:0px; cursor:pointer; color:#666666; -moz-border-radius: 5px; border-radius: 5px; position:absolute; text-align:center; visibility:hidden; } .featured_gal_desc { padding-left:20px; padding-right:20px; padding-top:20px; padding-bottom:10px; position:absolute; } .quote { padding-left: 0px; padding-right: 0px; padding-bottom:20px; padding-top:20px; position:absolute; overflow:hidden; font-family:; text-align:left; } .blu_content { position:relative; font-family:Open Sans, sans-serif; } .column_content { -moz-column-count:2; /* Firefox */ -webkit-column-count:2; /* Safari and Chrome */ column-count:2; -moz-column-gap:60px; /* Firefox */ -webkit-column-gap:60px; /* Safari and Chrome */ column-gap:60px; /* -webkit-column-rule-width: 1px; -moz-column-rule-width: 1px; column-rule-width: 1px; -webkit-column-rule-style: solid; -moz-column-rule-style: solid; column-rule-style: solid; -webkit-column-rule-color: #c6c6c6; -moz-column-rule-color: #c6c6c6; column-rule-color: #c6c6c6; */ vertical-align:text-top; margin:0px; padding:0px; } .copyright { font-family:Cinzel, serif; font-size: 12px; color:#000000; padding-left:0px; /*-webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation3);*/ } .phone_number { font-family:Open Sans, sans-serif; font-size: 18px; color:#000000; padding-left:0px; /*-webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation3);*/ } .full_border{ border:1px solid #666666; } .watermark{ color:#ffffff; font-family:Open Sans, sans-serif; font-size: 23px; position:absolute; cursor:default; } .sound_btn{ color:#000000; font-family:Open Sans, sans-serif; font-size: 13px; cursor:pointer; } .sound_label{ color:#000000; font-family:Cinzel, serif; font-size: 12px; padding-top:0px } .sound_play_btn { color:#000000; font-family:Cinzel, serif; font-size: 12px; cursor:pointer; } .slide_play_btn { border-color: #ffffff #ffffff #ffffff #000000; border-style: solid; border-width: 5px 5px 5px 5px; height: 0px; width: 0px; cursor:pointer; } /* MENU */ .menu_btn{ line-height:1.4em; color:#000000; border:0px solid; font-family:Cinzel, serif; /*font-family: Cinzel, serif;*/ font-size: 12px; text-decoration:none; /*font-family: Open Sans, sans-serif;*/ /*font-family: Josefin Slab, serif;*/ cursor:pointer; letter-spacing:0px; } .menu2_btn{ color:#; border:0px solid; font-family:Cinzel, serif; font-size: 13px; text-decoration:none; padding-left:px; padding-right:px; padding-bottom:px; padding-top:px; cursor:pointer; letter-spacing:1px; } .signin_btn{ background-color:#ffffff; color:#000000; border:0px solid; font-family:Open Sans, sans-serif; font-size: 12px; text-decoration:none; cursor:pointer; margin-left:60px; margin-right:60px; margin-top:20px; margin-bottom:20px; padding-left:15px; padding-right:15px; padding-top:5px; padding-bottom:5px; position:relative; } .menu_btn_li{ padding-bottom:px; padding-top:px; } .menu_btn_sub{ color:#ffffff; font-family:Cinzel, serif; font-size: 12px; text-decoration:none; padding-left:10px; padding-right:10px; padding-bottom:10px; padding-top:10px; text-align:center; cursor:pointer; border-top: 1px solid #ffffff; } .submenu_btn{ color:#000000; font-family:Cinzel, serif; font-size: 12px; text-decoration:none; padding-left:px; padding-right:px; padding-bottom:px; padding-top:px; cursor:pointer; } .social_btn{ border:1px solid; position:absolute; } .social_btn_a{ color:#666666; font-family:Open Sans, sans-serif; font-size: px; text-decoration:none; cursor: pointer; border:1px solid; margin:0px; padding:0px; } .bg_img { width: 100%; height:100%; visibility:visible; } /* GALLERIES */ .arrow, .sm_arrow{ border-top: 3px solid; border-right: 3px solid; background-color:#ffffff; margin-left:0px; margin-bottom:0px; margin-top:0px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); } .arrow { height: 20px; width: 20px; } .sm_arrow { border-top: 2px solid; border-right: 2px solid; height: 10px; width: 10px; } .home_arrow_btn_bg { -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity70); filter: alpha(opacity70); -moz-opacity:0.70; -khtml-opacity: 0.70; opacity: 0.70; } .home_button_arrow_prev { border-top: 1px solid #000000; border-left: 1px solid #000000; position:absolute; width:15px; height:15px; transform: skew(-10deg); -o-transform: skew(-10deg); -moz-transform: skew(-10deg); -webkit-transform: skew(-10deg); transform: rotate(-45deg); -o-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } .home_button_arrow_next { border-top: 1px solid #000000; border-right: 1px solid #000000; position:absolute; width:15px; height:15px; transform: skew(10deg); -o-transform: skew(10deg); -moz-transform: skew(10deg); -webkit-transform: skew(10deg); transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); } .arrow_btn{ border-top: 1px solid; border-right: 1px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 15px; width: 15px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#9ba019; } .arrow_btn_previous{ border-top: 1px solid; border-right: 1px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 15px; width: 15px; transform: rotate(-135deg); -o-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -webkit-transform: rotate(-135deg); cursor:pointer; outline:none; color:#9ba019; } .arrow_btn_down{ border-top: 2px solid; border-right: 2px solid; height: 15px; width: 15px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_up{ border-top: 2px solid; border-right: 2px solid; height: 15px; width: 15px; transform: rotate(-135deg); -o-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -webkit-transform: rotate(-135deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_prev{ border-top: 3px solid; border-right: 3px solid; margin-left:12px; margin-bottom:0px; margin-top:10px; height: 20px; width: 20px; transform: rotate(225deg); -o-transform: rotate(225deg); -moz-transform: rotate(225deg); -webkit-transform: rotate(225deg); cursor:pointer; outline:none; color:#000000; } .arrow_btn_next{ border-top: 3px solid; border-right: 3px solid; margin-left:6px; margin-bottom:0px; margin-top:10px; height: 20px; width: 20px; transform: rotate(45deg); -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); cursor:pointer; outline:none; color:#000000; } .scroll_lbl{ position:absolute; border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; height:30px; color:#000000; font-family:Cinzel, serif; font-size: 12px; text-align:center; padding-top:10px; visibility:hidden; } .sm_arrow_btn{ border-top: 3px solid; border-right: 3px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 10px; width: 10px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); cursor:pointer; outline:none; color:#; } .img_arrow_btn{ text-align:center; font-family:Arial, Helvetica, sans-serif; color:#ffffff; /*background-color:#ffffff;*/ padding-right:5px; padding-left:5px; font-size:25px; font-weight:500; width:20px; /*position:absolute;*/ visibility:hidden; cursor:pointer; } .text_arrow_right_btn{ border-top: 3px solid; border-right: 3px solid; margin-left:0px; margin-bottom:0px; margin-top:0px; height: 20px; width: 20px; transform: skew(20deg); -o-transform: skew(20deg); -moz-transform: skew(20deg); -webkit-transform: skew(20deg); cursor:pointer; } .text_arrow_left_btn{ border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid #ffffff; border-style: solid; margin-left:4px; margin-bottom:3px; margin-top:3px; height: 0px; width: 0px; cursor:pointer } .text_arrow_up_btn{ border-top: 6px solid transparent; border-bottom: 6px solid #ffffff; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-bottom:5px; margin-left:8px; height: 0px; width: 0px; cursor:pointer; position:absolute; visibility:hidden; } .text_arrow_down_btn{ border-top: 6px solid #ffffff; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-top:5px; margin-left:0px; height: 0px; width: 0px; cursor:pointer; position:absolute; visibility:hidden; } .thumb_arrow_up_btn{ border-top: 6px solid transparent; border-bottom: 6px solid #ffffff; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-bottom:5px; margin-left:4px; height: 0px; width: 0px; cursor:pointer } .thumb_arrow_down_btn{ border-top: 6px solid #ffffff; border-bottom: 6px solid transparent; border-left: 6px solid transparent; border-right: 6px solid transparent; border-style: solid; margin-top:5px; margin-left:4px; height: 0px; width: 0px; cursor:pointer } .thumb_arrow_bg{ text-align:center; padding:7px; padding-bottom:2px; padding-top:2px; width:12px; position:absolute; visibility:visible; cursor:pointer; } .thumb_arrow_bg_shadow_up{ text-align:center; padding:3px; font-size:25px; font-weight:500; width:14px; height:11px; position:absolute; visibility:visible; /* -moz-box-shadow: 2px 1px 4px 1px #000000; -webkit-box-shadow: 2px 1px 4px 1px #000000; box-shadow: 2px 1px 4px 1px #000000; */ } .text_arrow_bg{ text-align:center; font-size:36px; font-weight:500; position:absolute; visibility:visible; cursor:pointer; outline:none; text-outline:none; width:20px; height:30px; } .thumb_arrow_bg{ text-align:center; padding:3px; padding-top: 3px; padding-bottom:3px; font-size:25px; font-weight:500; width:20px; position:absolute; visibility:visible; cursor:pointer; } .text_arrow_bg_shadow{ text-align:center; padding:5px; font-size:25px; font-weight:500; width:30px; height:16px; position:absolute; visibility:visible; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 2px 1px 3px 1px #000000; */ } .comment_name { font-weight:bold; font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .comment_text { font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .comment_date { font-family:Open Sans, sans-serif; font-size:13px; color:#9ba019; } .slideshow_btn{ color:#000000; text-align:center; font-size:12px; position:absolute; visibility:hidden; cursor:pointer; font-family:Cinzel, serif; } .gal_menu_divider{ position:fixed; visibility:hidden; width:5px; color:#666666; font-family:Arial, Helvetica, sans-serif; font-size:25px; padding-bottom:15px; } .img_text_btn{ position:absolute; cursor:pointer; padding:0px; margin:0px; border:0px solid #666666; } .img_text_btn_bg{ background-color:#ffffff; position:absolute; display:none; padding:0px; margin:0px; border:0px solid #666666; -moz-box-shadow: 1px 1px 4px 0px #666666; -webkit-box-shadow: 1px 1px 4px 0px #666666; box-shadow: 1px 1px 4px 0px #666666; } .img_text_btn_bg2{ background-color:#ffffff; position:absolute; display:none; padding-right:1px; margin:0px; width: 28px; height: 28px; -webkit-border-radius: 14px; -moz-border-radius: 14px; border-radius: 14px; } .img_text_close_btn{ color:#ffffff; font-size:20px; position:absolute; display:none; cursor:pointer; font-family:Arial, Helvetica, sans-serif; width:24px; height:24px; padding-top:1px; padding-bottom:0px; padding-left:1px; padding-right:0px; -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; border:0px solid #666666; text-align:center; vertical-align:middle; } .img_close_btn{ color:#000000; /*background-color:#ffffff;*/ font-size:30px; cursor:pointer; font-family:Times New Roman, Times, serif; padding-top:0px; padding-bottom:0px; padding-left:5px; padding-right:5px; border:0px solid #FFF; float:right; border:0px solid; } .window_close_btn{ color:#666666; background-color:#ffffff; font-size:13px; cursor:pointer; font-family:Open Sans, sans-serif; padding-top:2px; padding-bottom:2px; padding-left:5px; padding-right:5px; text-align:center; width:16px; } .horizontal-only { } /* CONTACT SECTION */ .email_label { color:#9ba019; font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; /*font-weight:900;*/ } .email { color:#666666; font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; } .email:hover { font-size:13px; text-decoration:none; padding-bottom:5px; text-align:left; font-family: Open Sans, sans-serif; } .contact_check { color:#9ba019; font-size:13px; text-decoration:none; padding-bottom:0px; text-align:left; font-family: Open Sans, sans-serif; vertical-align:middle; } .contact_field { color:#666666; border:none; outline-color:#ffffff; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:5px; padding-top:5px; font-family:Open Sans, sans-serif; outline:none; border:0px solid #666666; background:none; } .contact_field_big { color:#666666; border:none; outline-color:#ffffff; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; resize:none; outline:none; border:0px solid #666666; background:none; } .contact_field_popup { color:#666666; border:1px solid #d8d8d8; outline-color:#d8d8d8; font-size:13px; text-decoration:none; padding-left:5px; padding-right:5px; padding-bottom:5px; padding-top:5px; font-family:Open Sans, sans-serif; background:none; } .contact_field_label { color:#666666; border-style:none; font-size:13px; text-decoration:none; text-align:left; padding-left:0px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; } .signin_field_label { color:#000000; font-size:13px; text-decoration:none; text-align:left; padding-left:0px; padding-right:5px; padding-bottom:0px; padding-top:0px; font-family:Open Sans, sans-serif; } .img_border { border:0px solid #ffffff; /* -moz-box-shadow: 1px 1px 3px 1px #cccccc; -webkit-box-shadow: 1px 1px 3px 1px #cccccc; box-shadow: 0px 0px 1px 1px #cccccc; */ } .collage_img_border { border:0px solid #ffffff; -moz-box-shadow: 1px 1px 3px 1px #cccccc; -webkit-box-shadow: 1px 1px 3px 1px #cccccc; box-shadow: 1px 1px 3px 1px #cccccc; } .hline_dbl{ height:px; visibility:hidden; position:absolute; border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; } .hline{ height:1px; visibility:hidden; position:absolute; border-bottom:1px solid #ffffff; } .hline_dotted{ visibility:hidden; position:absolute; size:1px; letter-spacing:0px; color: #ffffff; overflow:hidden; text-height:1px; border-bottom:0px dotted #ffffff; padding:0px; margin:0px; width:1px; } .hline_dashes{ size:1px; letter-spacing:1px; color: #ffffff; overflow:hidden; text-height:1px; padding:0px; margin:0px; width:100%; height:20px; } .hbar_top_shadow { height:px; visibility:hidden; position:absolute; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 0px 3px 3px 1px #000000; */ } .hbar_bottom_shadow { height:px; visibility:hidden; position:absolute; /* -moz-box-shadow: 0px 3px 3px 1px #000000; -webkit-box-shadow: 0px 3px 3px 1px #000000; box-shadow: 0px -3px 3px 1px #000000; */ } .section_border { position:absolute; visibility:hidden; font-size:12px; overflow:hidden; border-bottom:1px dashed #ffffff; } .download_button { font-family:Open Sans, sans-serif; font-size:13px; color:#666666; } .collage_title { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#ffffff; color:#000000; position:absolute; border:1px solid #000000; } .collage_title_over { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#ffffff; color:#9ba019; position:absolute; border:1px solid #000000; } .collage_title_click { font-family:Cinzel; font-size:18px; padding: 20px; vertical-align:middle; text-align:center; background-color:#000000; color:#ffffff; position:absolute; border:1px solid #000000; } .collage_title1 { font-family:Cinzel; font-size:18px; padding-right:20px; } .collage_title2 { font-family:Cinzel, serif; font-size:12px; } .scroll_msg { position:fixed; top:0px; visibility:hidden; background-color:#ffffff; padding:10px; padding-bottom:15px -moz-border-radius: 5px; border-radius: 5px; border:1px solid #666666; } .social_msg { position:absolute; top:0px; visibility:hidden; display:none; color:#000000; background-color:#ffffff; padding:3px; border:0px solid #; font-size:13px; } .error_msg { font-size: 13px; color:#9ba019; font-family:Open Sans, sans-serif; text-align:left; } .submit { border:0px; color:#666666; background-color:transparent; font-family:Cinzel, serif; font-size: 12px; padding-top:2px; padding-bottom:20px; padding-left: 0px; padding-right:0px; text-align:right; cursor:pointer; } .login_submit { border:0px solid #000000; color:#666666; background:none; font-family:Cinzel, serif; font-size: 12px; padding-top:20px; padding-bottom:0px; padding-left: 0px; padding-right:0px; text-align:left; cursor:pointer; } .submit2 { border:0px; color:#666666; font-family:Open Sans, sans-serif; font-size: 13px; padding:0px; text-align:left; cursor:pointer; } .fb_close_btn{ width:100%; height:20px; padding-bottom:1px; padding-top:1px; text-align:right; font-family:Arial, Helvetica, sans-serif; font-size:16px; color: #000000; background-color: #ffffff; cursor:pointer; position:relative; } .thumb_only { cursor:pointer; position:relative; visibility:hidden; margin:0px; padding:0px; display:block; border:0px solid #ffffff; } .purchased_thumb_img { margin:0px; padding:0px; display:block; border:1px solid #ffffff; } .thumb_header{ position:absolute; top:0px; text-align:center; width:100%; visibility:hidden; } .thumb_header_lbl{ position:absolute; top:0px; text-align:center; color:#ffffff ; width:100%; font-family:Open Sans, sans-serif; font-size: 13px; padding-top:0px; border:0px solid #CC6600; } .thumb_header_bg{ position:absolute; top:0px; text-align:center; background-color:#ffffff; height:30px; width:100%; border:0px solid #CC6600; /*border-top:1px solid #ffffff; border-left:1px solid #ffffff; border-right:1px solid #ffffff;*/ } .thumb_footer{ position:absolute; bottom:0px; text-align:center; width:100%; visibility:hidden; } .thumb_footer_lbl{ position:absolute; bottom:0px; text-align:center; color:#666666 ; width:100%; font-family:Open Sans, sans-serif; font-size: 13px; padding-bottom:0px; height:30px; } .thumb_footer_lbl_num{ font-family:Cinzel, serif; font-size: 12px; padding-left:20px; padding:0px; margin:0px; position:absolute; border:0px solid; color:#666666; } .img_preview_num{ font-family:Cinzel, serif; font-size: 25px; margin-bottom:20px; } .img_preview_title{ font-family:Open Sans, sans-serif; font-size: 16px; margin-bottom:20px; } .thumb_footer_bg{ position:absolute; bottom:0px; text-align:center; background-color:#ffffff; height:30px; width:100%; /*border-bottom:1px solid #ffffff; border-left:1px solid #ffffff; border-right:1px solid #ffffff;*/ } .thumb_only1 { border-top:0px solid #ffffff; border-bottom:0px solid #ffffff; border-left:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_only2 { border-top:0px solid #ffffff; border-bottom:0px solid #ffffff; border-right:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_style { border:0px solid #ffffff; text-align:center; vertical-align:middle; cursor:pointer; } .thumb_div_style { display:none; padding-bottom: 20px; } .thumb_only_div_style { position:absolute; padding:0px; margin:0px; border:0px solid; cursor:pointer; /*background-color:#9ba019; display:none; visibility:hidden;*/ } .featured_thumb_div_style { position:absolute; padding:0px; margin:0px; border:0px solid; cursor:pointer; background-color:transparent;/*#d8d8d8;*/ visibility:hidden; } .image_border { border:0px solid #d8d8d8; } /* END CONTACT SECTION */ /* BEGIN CALENDAR SECTION */ .calendar_legend { display:none; position:absolute; white-space:nowrap; } .calendar_title { font-family:Open Sans, sans-serif; font-size:18px; color:#666666; } .calendar_month { font-family:Open Sans, sans-serif; font-size:16px; color:#666666; text-align:center; } .cal_date { color:#ffffff; text-decoration:none; font-size: 12px; background-color:#ffffff; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; cursor:pointer; font-family:Open Sans, sans-serif; width: 100%; height:100%; text-align:left; vertical-align:top; border:1px solid #ffffff; } .cal_date_active { color:#ffffff; text-decoration:none; font-size: 12px; background-color:#9ba019; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; margin-left:0px; margin-right:0px; cursor:pointer; font-family:Open Sans, sans-serif; width: 100%; height:100%; text-align:left; vertical-align:top; border:1px solid #ffffff; } .cal_day { color:#000000; text-decoration:none; font-size: 12px; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; text-align:left; font-family:Cinzel, serif; } .cal_date_event { position:absolute; background-color:#ffffff; color:#666666; padding-left:10px; padding-top:0px; padding-right:0px; padding-bottom:10px; width:200px; cursor:pointer; font-family:Open Sans, sans-serif; font-size: 12px; display:none; } .close_event_x { text-align:center; color:#ffffff; background-color:#9ba019; padding:1px; font-size:16px; width:16px; float:right; margin-left:5px; cursor:pointer; font-family:Arial, Helvetica, sans-serif; } .pinterest_div { display:none; float:left; } /* END CALENDAR SECTION */ /* MOBILE */ .mobile_footer { background-color:#ffffff; position:absolute; height:px; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity85); filter: alpha(opacity85); -moz-opacity:0.85; -khtml-opacity: 0.85; opacity: 0.85; } .mobile_btn_container{ position:absolute; } .mobile_main_menu_btn { border-bottom: 11px double #fff; border-top: 4px solid #fff; height: 3px; width:30px; } .mobile_menu_btn { font-family:Cinzel, serif; font-size:px; color:#; } .mobile_menu_header_btn { font-family:Cinzel, serif; font-size:12px; color:#; } .menu_container { position:fixed; } .menu_background { background-color:#ffffff; position:absolute; -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity85); filter: alpha(opacity85); -moz-opacity:0.85; -khtml-opacity: 0.85; opacity: 0.85; } .menu_slider{ position:absolute; } /* TEXT EDITOR STYLES */ .size_10px { font-size:10px; padding:0px; margin:0px; } .size_12px { font-size:12px; padding:0px; margin:0px; } .size_14px { font-size:14px; padding:0px; margin:0px; } .size_18px { font-size:18px; padding:0px; margin:0px; } .size_22px { font-size:22px; padding:0px; margin:0px; } .size_28px { font-size:28px; padding:0px; margin:0px; } .size_36px { font-size:36px; padding:0px; margin:0px; } .size_66px { font-size:66px; padding:0px; margin:0px; } .size_96px { font-size:96px; padding:0px; margin:0px; } /* TEXT SCROLLER STYLES */ .scrollgeneric { line-height: 1px; font-size: 1px; position: absolute; top: 0; left: 0; } .vscrollerbase { width: 10px; background-color: #ffffff; } .vscrollerbar { width: 8px; background-color: #000000; border: 1px solid #ffffff; } .hscrollerbase { height: 10px; background-color: #9ba019; } .hscrollerbar { height: 10px; background-color: #000000; } .scrollerjogbox { width: 10px; height: 10px; top: auto; left: auto; bottom: 0px; right: 0px; background-color: #ffffff; } #scrollbar1 {margin: 0px 0 10px; border:0px solid; } #scrollbar1 .viewport { overflow: hidden; position: relative; } #scrollbar1 .overview { list-style: none; position: absolute; left: 0px; top: 0px; padding: 0px; margin: 0px; } #scrollbar1 .scrollbar{background:#a7a7a7; position: relative; width: 15px; display:none;} #scrollbar1 .track { background: background:#000000; height: 3px; width:100%; position: relative; } #scrollbar1 .thumb { height: 3px; cursor: pointer; overflow: hidden; position: absolute; top:0px; background:#9ba019; /* -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; */ } #scrollbar1 .thumb .end { overflow: hidden; height: 5px; width: 25px; } #scrollbar1 .disable { display: none; } .gal_imgh_frame { padding:20px; } .gal_imgv_frame { padding:20px; } .home_links_pane { padding:20px; position:absolute; } .clearer { clear: both; display:block; } .home_panel_text { padding:0px; font-family:Open Sans, sans-serif; visibility:hidden; } .thumbs_div { position:absolute; display:none; padding-left:0px; padding-right:0px; padding-top:0px; padding-bottom:0px; } .thumbs_only_div { position:absolute; padding-left:0px; padding-right:0px; padding-top:0px; padding-bottom:0px; } .thumbs_page_div { padding: 0px; border:0px solid } .line_border { position:absolute; visibility:hidden; border:px solid #ffffff; cursor:pointer; }/* LOADER STYLES */#loader_div{position:absolute;width:41px;height:5px}.squaresWaveG{ color:#000000; position:absolute; top:0; background-color:transparent; width:5px; height:5px; -moz-animation-name:bounce_squaresWaveG; -moz-animation-duration:1.3s; -moz-animation-iteration-count:infinite; -moz-animation-direction:linear; -webkit-animation-name:bounce_squaresWaveG; -webkit-animation-duration:1.3s; -webkit-animation-iteration-count:infinite; -webkit-animation-direction:linear; -ms-animation-name:bounce_squaresWaveG; -ms-animation-duration:1.3s; -ms-animation-iteration-count:infinite; -ms-animation-direction:linear; -o-animation-name:bounce_squaresWaveG; -o-animation-duration:1.3s; -o-animation-iteration-count:infinite; -o-animation-direction:linear; animation-name:bounce_squaresWaveG; animation-duration:1.3s; animation-iteration-count:infinite; animation-direction:linear;}#squaresWaveG_1{left:0;-moz-animation-delay:0.0s;-webkit-animation-delay:0.0s;-ms-animation-delay:0.0s;-o-animation-delay:0.0s;animation-delay:0.0s;}#squaresWaveG_2{left:6px;-moz-animation-delay:0.16s;-webkit-animation-delay:0.16s;-ms-animation-delay:0.16s;-o-animation-delay:0.16s;animation-delay:0.16s;}#squaresWaveG_3{left:12px;-moz-animation-delay:0.32s;-webkit-animation-delay:0.32s;-ms-animation-delay:0.32s;-o-animation-delay:0.32s;animation-delay:0.32s;}#squaresWaveG_4{left:18px;-moz-animation-delay:0.48s;-webkit-animation-delay:0.48s;-ms-animation-delay:0.48s;-o-animation-delay:0.48s;animation-delay:0.48s;}#squaresWaveG_5{left:24px;-moz-animation-delay:1.04s;-webkit-animation-delay:1.04s;-ms-animation-delay:1.04s;-o-animation-delay:1.04s;animation-delay:1.04s;}#squaresWaveG_6{left:30px;-moz-animation-delay:1.17s;-webkit-animation-delay:1.17s;-ms-animation-delay:1.17s;-o-animation-delay:1.17s;animation-delay:1.17s;}#squaresWaveG_7{left:36px;-moz-animation-delay:1.3s;-webkit-animation-delay:1.3s;-ms-animation-delay:1.3s;-o-animation-delay:1.3s;animation-delay:1.3s;}#squaresWaveG_8{left:42px;-moz-animation-delay:1.43s;-webkit-animation-delay:1.43s;-ms-animation-delay:1.43s;-o-animation-delay:1.43s;animation-delay:1.43s;}@-moz-keyframes bounce_squaresWaveG{0%{background-color: transparent;}100%{background-color:#c6c6c6;}}@-webkit-keyframes bounce_squaresWaveG{0%{background-color: transparent;}100%{background-color:#c6c6c6;}}@-ms-keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#c6c6c6;}}@-o-keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#ffffff;}}@keyframes bounce_squaresWaveG{0%{background-color:#transparent;}100%{background-color:#ffffff;}}/* For modern browsers */.blu_container:before,.blu_container:after { content:; display:table;}.blu_container:after { clear:both;}/* For IE 6/7 (trigger hasLayout) */.blu_container { zoom:1;}.thumb_price_lbl{ font-family:Open Sans, sans-serif; font-size:13px; color: #666666; /*font-weight:bold; */}.thumb_msg { font-family:Open Sans, sans-serif; font-size:13px; text-transform:lowercase; padding-bottom:10px; padding-top:0px; line-height:1em; }.thumb_cart_btn { font-family:Cinzel, serif; background-color:#ffffff; margin: 0 auto; color:#666666; border:1px solid #d8d8d8; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40%; text-align:center;}.thumb_cart_btn:hover { background-color:#9ba019; margin: 0 auto; color:#ffffff; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40%; text-align:center;}.profile_submit_btn { background-color:#ffffff; margin-right:5px; color:#fcfcfc; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; cursor:pointer; font-size:12px; width:40px; float:right;}.profile_name_btn { position:relative; border:0px solid; text-align:center; padding-bottom:10px; padding-left:30px; padding-right:30px; font-size:23px; color:#fcfcfc; font-family:Cinzel, serif;}.cart_edit_btn { font-family:Open Sans, sans-serif; /*font-size:12px;*/ color:#9ba019; cursor:pointer; font-weight:bold; margin-left:10px}.cart_checkout_num{ padding-right:20px; font-family:Cinzel, serif; font-size:30px; color:#000000;}.cart_checkout_title { font-family:Open Sans, sans-serif; color:#000000;}.cart_checkout_price { font-family:Open Sans, sans-serif; font-size:15px; padding-bottom:5px; color:#000000; line-height:1em;}.cart_checkout_size { font-family:Open Sans, sans-serif; font-size:13px; color:#000000;}.cart_checkout_totals { margin-left:5px; width:100%; font-family:Open Sans, sans-serif; font-size:12px; font-weight:bold; color:#666666 ; margin-top:10px;}.profile_purchase_lbl { font-family:Open Sans, sans-serif; font-weight:bold; padding-right:5px;}.profile_purchase_detail { font-family:Open Sans, sans-serif;}.gal_title { color:#fcfcfc; font-family:Cinzel, serif; font-size:23px; /*height:50px; */ width:100%; text-align:center; padding-top:0px; border:0px solid; }.profile_settings_btn { /*background-color:#fcfcfc; */ font-family:Cinzel, serif; font-size:23px; color:#9ba019; padding-left: 0px; padding-right: 0px; padding-top: 5px; padding-bottom: 5px; margin-right:0px; cursor:pointer; width:100%; text-align:center;}.offline_btn{ color:#666666; background-color:#ffffff; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; /* future proofing */ -khtml-border-radius: 10px; /* for old Konqueror browsers */ cursor:pointer; width:110px; padding-bottom:2px; padding-top:2px; margin:0 auto;}.offline_btn:hover{ color:#ffffff; background-color:#9ba019;}/* LOADER 2 STYLES */.loader { width: 150px; height: 150px; line-height: 90px; margin: 0 auto; position: relative; box-sizing: border-box; text-align: center; z-index: 0; text-transform: uppercase; font-family:Cinzel, serif; color:#ffffff; font-size:12px;}.loader:before,.loader:after { opacity: 0; box-sizing: border-box; content: \0020; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 100px; border: 3px solid #ffffff; box-shadow: 0 0 10px #ffffff, inset 0 0 10px #ffffff;}.loader:after { z-index: 1; -webkit-animation: gogoloader 2s infinite 1s;}.loader:before { z-index: 2; -webkit-animation: gogoloader 2s infinite;}@-webkit-keyframes gogoloader { 0% { -webkit-transform: scale(0); opacity: 0; } 50% { opacity: 1; } 100% { -webkit-transform: scale(1); opacity: 0; } .lh_1-0 {line-height:1.0em;}.lh_1-5 {line-height:1.5em;}.lh_2-0 {line-height:2.0em;}.lh_2-5 { line-height:2.5em;}.lh_3-0 {line-height:3.0em;}.lh_3-5 { line-height:3.5em;}}/style>!--meta propertyog:image contenthttp://bludomaintemplates.com/dbd_test/v1site_images/logos/final_logo3.png />-->!-- INCLUDE JQUERY SCRIPTS -->script srcblu_front/ANJA/blu_js/jquery-1.7.1.min.js>/script>script srcblu_front/ANJA/blu_js/ui/jquery.effects.core.js>/script>script srcblu_front/ANJA/blu_js/spin.min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/jquery.address-1.5.min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/jquery.easing.1.3.js>/script>!-- ajax form js-->script typetext/javascript srcblu_front/ANJA/blu_js/jquery.form.js>/script>script srchttps://www.paypalobjects.com/js/external/dg.js typetext/javascript>/script>script typetext/javascript srcblu_front/ANJA/blu_js/raphael-min.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/raphael.handdrawn.js>/script>script typetext/javascript srcblu_front/ANJA/blu_js/swfobject/swfobject.js>/script>script srcblu_front/ANJA/blu_js/jquery.isotope.min.js>/script> !-- FONT LOADER -->script typetext/javascript>var vars {};vars.fonts_loaded true;/*WebFontConfig { custom: { families: Open Sans, sans-serif, Cinzel, serif, Cinzel, serif, , Cinzel, serif, Cinzel, urls: blu_front/ANJA/blu_css/css.php }, active: function() { vars.fonts_loaded true; set_size(); }, timeout:2000}; */ /script>!-- INCLUDE SOUND MANAGER 2 -->!-- CHECKBOX/RADIO STYLING -->link relstylesheet hrefbluadmin/css/ezmark.css mediaall>script typetext/javascript languageJavascript srcbluadmin/js/jquery.ezmark.min.js>/script>!-- INCLUDE MOBILE META -->!--meta nameviewport contentwidth800, maximum-scale1.0 />-->!--meta name viewport content initial-scale 1.0, maximum-scale 1.0, user-scalable yes, width device-width>--> meta name format-detection content telephoneno>meta http-equivContent-Type contenttext/html; charsetutf-8>!-- INCLUDE PRINT PREVENTING CODE -->link relalternate mediaprint hrefprintversion.txt>meta http-equivimagetoolbar contentno>!-- JQUERY CODE & FUNCTIONS -->script typetext/javascript languagejavascript> //PREVENT RIGHT-CLICK $(function() { $(this).bind(contextmenu, function(e) { e.preventDefault(); }); }); //LOADING QUEUE var lq_curr_index 0; var lg_index 0; var lq new Array(); //add site logo //add content frame /*lqlg_index new Object(); lqlg_index.path ; lqlg_index.div_id menu_btn_over; lqlg_index.loaded false; lqlg_index.display_onload false; lg_index++;*/ //GET MENU ARRAY var menu_array new Array(); menu_array1 new Object(); menu_array1.name HOME; menu_array1.rel HOME; menu_array1.url blu_front/ANJA/blu_source/home.php?active_btn1&sec_id278; menu_array1.meta_title Danielle Eileen Photography; menu_array1.type home; if (menu_array1.type proof){ vars.proof_btn_no 1; } menu_array1.subtype panel; menu_array1.color ffffff; menu_array1.url_link ; menu_array1.link_target _blank; menu_array1.open_first 0; menu_array1.menu_group 1; menu_array1.widget_width 0; menu_array1.widget_height 0; menu_array1.visible true; menu_array2 new Object(); menu_array2.name BIO; menu_array2.rel BIO; menu_array2.url blu_front/ANJA/blu_source/text_section.php?active_btn2&text_sub_typesingle&sec_id374&text_id205; menu_array2.meta_title Danielle Eileen Photography; menu_array2.type text; if (menu_array2.type proof){ vars.proof_btn_no 2; } menu_array2.subtype single; menu_array2.color db8534; menu_array2.url_link ; menu_array2.link_target _blank; menu_array2.open_first 0; menu_array2.menu_group 1; menu_array2.widget_width 0; menu_array2.widget_height 0; menu_array2.visible true; menu_array3 new Object(); menu_array3.name GALLERIES; menu_array3.rel GALLERIES; menu_array3.url blu_front/ANJA/blu_source/featured_sec.php?sec_id375; menu_array3.meta_title Danielle Eileen Photography; menu_array3.type galleries; if (menu_array3.type proof){ vars.proof_btn_no 3; } menu_array3.subtype featured; menu_array3.color db8534; menu_array3.url_link ; menu_array3.link_target _blank; menu_array3.open_first 0; menu_array3.menu_group 1; menu_array3.widget_width 0; menu_array3.widget_height 0; menu_array3.visible true; menu_array4 new Object(); menu_array4.name THE DETAILS; menu_array4.rel THE_DETAILS; menu_array4.url blu_front/ANJA/blu_source/text_section.php?active_btn4&text_sub_typeblog-style&sec_id393; menu_array4.meta_title Danielle Eileen Photography; menu_array4.type text; if (menu_array4.type proof){ vars.proof_btn_no 4; } menu_array4.subtype blog-style; menu_array4.color db8534; menu_array4.url_link ; menu_array4.link_target _blank; menu_array4.open_first 0; menu_array4.menu_group 1; menu_array4.widget_width 0; menu_array4.widget_height 0; menu_array4.visible true; menu_array5 new Object(); menu_array5.name CONTACT; menu_array5.rel CONTACT; menu_array5.url blu_front/ANJA/blu_source/contact.php?active_btn5&sec_id376; menu_array5.meta_title Danielle Eileen Photography; menu_array5.type contact; if (menu_array5.type proof){ vars.proof_btn_no 5; } menu_array5.subtype ; menu_array5.color db8534; menu_array5.url_link ; menu_array5.link_target _blank; menu_array5.open_first 0; menu_array5.menu_group 1; menu_array5.widget_width 0; menu_array5.widget_height 0; menu_array5.visible true; menu_array6 new Object(); menu_array6.name TESTIMONIALS; menu_array6.rel TESTIMONIALS; menu_array6.url blu_front/ANJA/blu_source/featured_text_sec.php?active_btn6&text_sub_typenews&sec_id383; menu_array6.meta_title Danielle Eileen Photography; menu_array6.type news; if (menu_array6.type proof){ vars.proof_btn_no 6; } menu_array6.subtype news; menu_array6.color db8534; menu_array6.url_link ; menu_array6.link_target _blank; menu_array6.open_first 0; menu_array6.menu_group 1; menu_array6.widget_width 0; menu_array6.widget_height 0; menu_array6.visible true; //GET JUKEBOX ARRAY var jukebox_array new Array(); var song_array new Array(); var download_opt_array new Array(); download_opt_array1 new Object(); download_opt_array1.id 1; download_opt_array1.label 4x6 Canvas print; download_opt_array1.type Print; download_opt_array1.w 0; download_opt_array1.h 0; download_opt_array1.price 15.00; download_opt_array1.gal_id 0; download_opt_array1.gal_type ; download_opt_array1.img_id 0; download_opt_array1.res ; download_opt_array2 new Object(); download_opt_array2.id 2; download_opt_array2.label 5x7 print; download_opt_array2.type Print; download_opt_array2.w 0; download_opt_array2.h 0; download_opt_array2.price 25.00; download_opt_array2.gal_id 0; download_opt_array2.gal_type ; download_opt_array2.img_id 0; download_opt_array2.res ; download_opt_array3 new Object(); download_opt_array3.id 3; download_opt_array3.label 8x10 print; download_opt_array3.type Print; download_opt_array3.w 0; download_opt_array3.h 0; download_opt_array3.price 55.00; download_opt_array3.gal_id 0; download_opt_array3.gal_type ; download_opt_array3.img_id 0; download_opt_array3.res ; download_opt_array4 new Object(); download_opt_array4.id 4; download_opt_array4.label 8x12 print; download_opt_array4.type Print; download_opt_array4.w 0; download_opt_array4.h 0; download_opt_array4.price 65.00; download_opt_array4.gal_id 0; download_opt_array4.gal_type ; download_opt_array4.img_id 0; download_opt_array4.res ; download_opt_array5 new Object(); download_opt_array5.id 5; download_opt_array5.label 11x14 print; download_opt_array5.type Print; download_opt_array5.w 0; download_opt_array5.h 0; download_opt_array5.price 85.00; download_opt_array5.gal_id 0; download_opt_array5.gal_type ; download_opt_array5.img_id 0; download_opt_array5.res ; download_opt_array6 new Object(); download_opt_array6.id 6; download_opt_array6.label 12x18 print; download_opt_array6.type Print; download_opt_array6.w 0; download_opt_array6.h 0; download_opt_array6.price 100.00; download_opt_array6.gal_id 0; download_opt_array6.gal_type ; download_opt_array6.img_id 0; download_opt_array6.res ; download_opt_array7 new Object(); download_opt_array7.id 13; download_opt_array7.label download hi-res; download_opt_array7.type Image; download_opt_array7.w 0; download_opt_array7.h 0; download_opt_array7.price 50.00; download_opt_array7.gal_id 0; download_opt_array7.gal_type ; download_opt_array7.img_id 0; download_opt_array7.res high; download_opt_array8 new Object(); download_opt_array8.id 14; download_opt_array8.label download lo-res; download_opt_array8.type Image; download_opt_array8.w 0; download_opt_array8.h 0; download_opt_array8.price 80.00; download_opt_array8.gal_id 0; download_opt_array8.gal_type ; download_opt_array8.img_id 0; download_opt_array8.res low; var btn_count 6; var active_btn 0; var img_count 0; var sec_count 0; var active_subsec ; //var old_img -1; var home_speed 4 * 1000; var gallery_speed 4000; // * 1000; var proofing_speed 4000; // * 1000; var slide_play ; var slide_playing false; var slide_int -1; var font_int -1; var set_image_int -1; var img_fr_w 0; var col_img_fr_w 0; var collage_spacer 5; var loader_int -1; var loader_fade_dir in; var curr_page 1; var active_sec ; var title_xpad 0; var title_ypad 20; var menu_btn_vpad 20; var menu_btn_hpad 10; var btn_hspacer 15; var btn_vspacer 3; var content_padding 20; var header_padding 15; var logo_padding 10; var arrow_pad 5; var small_thumb_h 100; var use_shadows no; var image_array new Array(); var featured_image_array new Array(); var home_featured_image_array new Array(); var global_cart_opt_array new Array(); var gal_cart_opt_array new Array(); var img_cart_opt_array new Array(); var img_cart_opt2_array new Array(); var img_cart_array new Array(); var img_cart_array2 new Array(); var cart_pack_array new Array(); var image_array new Array(); vars.site_opened false; vars.entry_animation_speed 1200; vars.popup_opacity 0.85; vars.sec_loaded false; vars.proof_logged false; vars.proof_id ; vars.profile_logged false; vars.set_image_int -1; vars.old_img -1; vars.curr_img 0; vars.img1_w 0; vars.img1_h 0; vars.img2_w 0; vars.img2_h 0; vars.img3_w 0; vars.img3_h 0; vars.img4_w 0; vars.img4_h 0; vars.page_no 0; vars.curr_color 9ba019; vars.btn_over_color ; vars.menu_mode ; vars.browser ; vars.ipad ; vars.mobile ; vars.site_bg_type interface; vars.water_opacity 75/100; vars.water_enable all; vars.water_pos middle; vars.menu_position top; vars.menu_bottom_pad 30; vars.login_bottom_pad 20; vars.login_top_pad 10; vars.fonts_handled false; vars.menu_bg_type full; vars.background_option none; vars.text_pad 30; vars.copy_vspace 40; vars.img_spacer 5; vars.thumb_spacer 5; vars.thumb_fr_w 0; vars.thumb_only_w 210; vars.thumb_only_h 140; vars.thumbs_view not set; vars.gallery_view not set; vars.scroller false;// indicates whether the text area needs a scroller vars.scroll_msg false; vars.site_orientation horizontal; vars.menu_h 0; vars.home_display fade; vars.favorites 0; vars.social_w 0; vars.social_h 0; vars.cart_opened false; vars.active_sec_type ; vars.first_img_loaded false; //checks if 1st image has displayed so the thumbs can display vars.proof_popup 0; vars.logo_xpos 0; vars.logo_pos ; vars.doc_h 0; //document height used for refreshing the bg color vars.featured_opened false; vars.footer_h 150; vars.contact_ypos 0; vars.proof_ypos 0; vars.collage_ypos 0; vars.featured_ypos 0; vars.cart_ypos 0; vars.header_bg_h 0; vars.proof_gal_url ; vars.blucart_count 0; vars.max_thumb_rows 20; vars.max_img_rows 30; vars.curr_news_page 1; if(vars.mobile ) { vars.max_thumb_rows 50; vars.max_img_rows vars.max_thumb_rows; } else if(vars.ipad) { vars.max_thumb_rows 30; vars.max_img_rows vars.max_thumb_rows; } vars.cart_need_phone false; //check for retina function isHighDensity(){ return ((window.matchMedia && (window.matchMedia(only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)).matches || window.matchMedia(only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)).matches)) || (window.devicePixelRatio && window.devicePixelRatio > 1.3)); } function isRetina(){ return ((window.matchMedia && (window.matchMedia(only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx), only screen and (min-resolution: 75.6dpcm)).matches || window.matchMedia(only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)).matches)) || (window.devicePixelRatio && window.devicePixelRatio > 2)) && /(iPad|iPhone|iPod)/g.test(navigator.userAgent); } if (isHighDensity() || isRetina()){ vars.retina true; } else { vars.retina false; } //vars.retina window.devicePixelRatio > 1; //set sound vars var sound_vars {}; sound_vars.play_on_load no; if (sound_vars.play_on_load yes){ sound_vars.sound_status playing; } else { sound_vars.sound_status paused; } sound_vars.loop yes; sound_vars.start_vol 50; sound_vars.song_no 1; sound_vars.jukebox_count 0; sound_vars.curr_song_no 1; sound_vars.gal_song false; $(document).ready(function(){ (function() { var wf document.createElement(script); wf.src (https: document.location.protocol ? https : http) + ://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js; wf.type text/javascript; wf.async true; var s document.getElementsByTagName(script)0; s.parentNode.insertBefore(wf, s); })(); /*var cookies cart_get_cookies_array(); for (var name in cookies) { if (name.indexOf(blufavorite) ! -1){ delete_cookie(name); } } cart_set_cookie( favorite_id, 0); */ document.body.style.webkitTouchCalloutnone; //set loader //set loader /*new Spinner(document.getElementById(spinner), { radii: 10, 12, dashes: 8, dashWidth: 5, opacity: 1, speed: .7, padding: 7, color: #000000 }).play();*/ //cart_update_count(); if (sound_vars.play_on_load yes){ //soundManager.setVolume(10); //$(#sound_play_btn).mouseover(); } //LOAD PAGE if ($(#shop_buttons).length){ $(#shop_buttons).data(opened, false); } // if ($(#login_buttons).length){ // $(#login_buttons).data(opened, false); //} //SET COPYRIGHT /*$(#copyright_div).css({ display: none, visibility: visible }); $(#copyright_div).fadeIn();*/ //SET SOCIAL ICONS $(#social_buttons).data(opened, false); set_size(); //$(#footer_invis_div).fadeTo(0, 0.2); //load graphics //load_queue(lq_curr_index); /*if ($(# + lqlq_curr_index.div_id).length){ $(# + lqlq_curr_index.div_id).append(img idimg_ + lqlq_curr_index.div_id + src + lqlq_curr_index.path + >); $(#img_ + lqlq_curr_index.div_id).load(function(){ $(# + lqlq_curr_index.div_id).css({ visibility: visible }); $(# + lqlq_curr_index.div_id).fadeIn(); lq_curr_index++; }); }*/ //SET BACKGROUND IMAGE if ($(#bg_img).length){ $(#bg_img).load(function(){ set_size(); $(#bg_img).css({ visibility: visible }) }); } //SET CART BTN // ////SET SECTIONS //$(.menu_btn).address(); //$(.submenu_btn).address(); $.address.crawlable(true); $.address.init(function(event) { //alert(event.value); var front_dir blu_front/ANJA/; if (event.value /){ /*for (i1; ibtn_count; i++){ if (menu_arrayi.open_first 1){ var rel menu_arrayi.rel; } }*/ var rel menu_array1.rel; vars.active_rel rel; //if(!vars.fonts_loaded) { // font_int setInterval(monitor_fonts(), 50); // return; //} $.address.path(rel); } else { //get URL address //var url $(arel|address: + event.value + ).attr(href); //get active btn no for (i1; ibtn_count; i++){ var rel / + menu_arrayi.rel; //debug(rel); if (rel event.value){ var id i; } } var proof_gal_direct false; //var id $(arel|address: + event.value + ).attr(id); var rel_array event.value.split(/); //submenu button if (rel_array.length > 4){ active_btn rel_array1; vars.sec_id rel_array3; if (rel_array2 proof){ //rel menu_arrayactive_btn.rel; var url front_dir + blu_source/gallery.php?active_btn + vars.proof_btn_no + &gal_id + rel_array3 + &gal_typeWed; if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var proof_gal_direct proof; } else if (rel_array2 proof_preview){ //var url proof_preview.php; if (vars.proof_status logged){ rel event.value; } else { rel menu_arrayactive_btn.rel; } //alert(rel); } else if (rel_array2 featured){ rel $(#featured_rel + active_btn + _ + rel_array4).html(); } else if (rel_array2 video){ rel $(#video_rel + active_btn + _ + rel_array4).html(); } else if (rel_array2 favorites){ rel $(#favorites_btn).data(rel); active_btn 99; active_btn favorites; } else { rel $(#invis_rel + active_btn + _ + vars.sec_id).html(); $(#subbtn + active_btn + _ + vars.sec_id).css({ color: #ffffff }); //open_submenu(active_btn); } //regular button } else { if (event.value /cart){ active_btn cart; rel cart; position_menu_btn_over(); } else if (event.value /profile){ rel profile; } else if (event.value /favorites){ active_btn favorites; rel favorites; position_menu_btn_over() } else { active_btn id;//id.replace(/^\d.,+/,); rel menu_arrayactive_btn.rel; } } vars.active_rel rel; //if(!vars.fonts_loaded) { // font_int setInterval(monitor_fonts(), 50); // return; //} var sec_type ; if (active_btn > 0 && active_btn btn_count){ sec_type menu_arrayactive_btn.type; $(#btn_div + active_btn).find(span).css({ //color: # + vars.curr_color }); /*$(#btn + active_btn).animate({ font-size: 150% },fast, easeOutQuart ); */ $(#btn_bullet + active_btn).css({ //visibility: visible }); } //alert(active_btn + + vars.proof_btn_no); bluSetAccess(proof_gal_direct); /* if (active_btn vars.proof_btn_no){ if (vars.profile_logged){ bluSetAccess(init); } else { //$.address.path(menu_array1.rel); } } else { //$.address.path(rel); }*/ } //$(#btn_div + active_btn).click(); }); $.address.change(function(event) { //alert(vars.fonts_loaded); //debug(event.value + + vars.fonts_loaded); var prev_active active_sec; //alert(event.value + + vars.active_rel); if (event.value ! vars.active_rel || true){ vars.curr_section active_sec; if (event.value /refresh_favorites){ $.address.path($(#favorites_btn).data(rel)); } else if (event.value /refresh_prev_page){ $.address.path(vars.prev_rel); } else if (event.value /refresh_gallery_view){ vars.prev_rel vars.active_rel; vars.active_rel ; $.address.path(vars.prev_rel); //var link_array event.value.split(/); } else if (event.value ! /# && event.value ! /){ vars.prev_rel vars.active_rel; vars.active_rel event.value; //var url $(arel|address: + event.value + ).attr(href); //get active btn no //var id $(arel|address: + event.value + ).attr(id); var link_array event.value.split(/); var sec_meta_title ; //alert(test); //if sub btn var front_dir blu_front/ANJA/; if (link_array.length > 4){ active_btn parseInt(link_array1); vars.sec_id link_array3; //alert(vars.proof_gal_url); if (link_array2 proof){ //alert(vars.proof_id); var url front_dir + blu_source/gallery.php?active_btn + vars.proof_btn_no + &gal_id + link_array3 + &gal_typeWed; if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } //alert(url); } else if (link_array2 proof_preview){ var url front_dir + blu_source/proof_preview.php?active_btn + active_btn; } else if (link_array2 featured){ var url $(#featured_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); //alert(url); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#featured_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sec_id link_array4; } else if (link_array2 news){ var url $(#invis_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); var sec_meta_title $(#invis_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sub_type news; vars.sec_id link_array4; } else if (link_array2 sale){ var url $(#invis_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); var sec_meta_title $(#invis_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } vars.sub_type sale; vars.sec_id link_array4; } else if (link_array2 video){ //alert(#video_url + active_btn + _ + link_array4); var url $(#video_url + active_btn + _ + link_array4).html(); url $(textarea />).html(url).val(); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#video_meta + active_btn + _ + link_array4).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); if (active_btn > btn_count){ menu_arrayactive_btn new Array(); menu_arrayactive_btn.color ; } //alert(1 + url); vars.sec_id link_array4; } else if (link_array2 favorites){ var url front_dir + blu_source/gallery.php?gal_id0&gal_typeFav&favorite_gallery1; sec_meta_title favorites; } else { var url $(#invis_url + active_btn + _ + vars.sec_id).html(); url $(textarea />).html(url).val(); if (vars.gallery_view ! not set){ url + &gallery_view + vars.gallery_view; } var sec_meta_title $(#invis_meta + active_btn + _ + vars.sec_id).html(); sec_meta_title $(textarea />).html(sec_meta_title).val(); } //if main btn } else { //get URL address if (event.value /cart){ var url front_dir + blu_source/cart.php; } if (event.value /profile){ var url front_dir + blu_source/profile_purchases.php; } if (event.value /favorites){ var url front_dir + blu_source/gallery.php?favorite_galleryyes; active_btn 0; } else { for (i1; ibtn_count; i++){ var rel / + menu_arrayi.rel; if (rel event.value){ var url menu_arrayi.url; active_btn i; } } } } //position_menu_btn_over(); if (active_sec widget link) { $(#widget_div + vars.active_sec_id).fadeOut(); } //alert(menu_arrayactive_btn.subtype); //get active section type if (link_array1 cart){ active_btn cart; active_sec cart; var sec_meta_title cart; } else if (link_array1 profile){ active_sec profile; var sec_meta_title profile; } else if (link_array1 favorites){ active_btn favorites; active_sec fav_gallery; var sec_meta_title favorites; } else if (link_array2 ! proof && link_array2 ! proof_preview && link_array2 ! featured && link_array2 ! video && link_array2 ! favorites){ if (menu_arrayactive_btn.subtype collage){ active_sec collage; } else if (menu_arrayactive_btn.subtype featured || menu_arrayactive_btn.subtype featured-blog){ active_sec featured; } else if (menu_arrayactive_btn.subtype video){ if (menu_arrayactive_btn.type video){ active_sec video_sec; } else if (menu_arrayactive_btn.type home){ active_sec video; } } else { active_sec menu_arrayactive_btn.type; } } else if (link_array2 proof_preview){ active_sec proof_preview; } else if (link_array2 featured){ active_sec galleries; } else if (link_array2 video){ active_sec video; } else if (link_array2 proof){ active_sec proof_gallery; } if (link_array2 news || link_array2 sale) { active_sec text; } //alert(2 + url); //if (active_sec ! proof_gallery){ //$(#back_btn).fadeOut(); //} if(prev_active home){ killHomeTimers(); } //bluSetAccess(); // if (sec_meta_title! ){ $.address.title(sec_meta_title); } else { //alert(menu_arrayactive_btn.meta_title); $.address.title(menu_arrayactive_btn.meta_title); } //clear slideshow if any if(slide_int) { clearInterval(slide_int); slide_int -1; vars.curr_img 0; } //debug(active_sec + + vars.sub_type); /*$(#spinner).css({ visibility: visible, display: none, top: (win_h - $(#spinner).height())/2, left: (win_w - $(#spinner).width())/2 });*/ $(#loader_div).css({ visibility: visible, display: none, top: vars.interface_ypos + (content_h - $(#loader_div).height())/2 }); bluShowLoader(); //if (active_sec proof && vars.proof_popup){ // $(#page).fadeTo(fast, 0); //} else { //$(#spinner).fadeIn(); //$(#loader_div).fadeIn(); $(divid*title_div).fadeOut(); $(divid*title_div).data(opened, false); //if ($(#watermark).length){ //$(#watermark).fadeOut(); //} if ($(#favorites_btn).length){ //$(#favorites_btn).fadeOut(); } if ($(#slideshow_btn).length){ $(#slideshow_btn).fadeOut(); $(#slideshow_btn_divider).fadeOut(); } /*if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery){ if ($(#gallery_view_btn).length){ $(#gallery_view_btn).fadeOut(); } }*/ if ($(#content_frame_div).length){ $(#content_frame_div).fadeOut(); } if (vars.mobile && active_sec ! home){ if ($(#home_links_div).length){ //if ($(#home_links_div).data(opened)){ //$(#home_links_div).data(opened, false); // vars.home_featured_html $(#home_links_div).html(); //$(#home_links_div).empty(); ///} } } $(#page).fadeOut(0, function() { if(slide_int) { clearInterval(slide_int); slide_int -1; vars.curr_img 0; } $(divid*title_div).empty(); $(divid*title_div).css({ visibility: hidden, display: }); $(#page).empty(); $(#page).height(1); $(#page).css({ display: , visibility: hidden }); close_footer_elements(); //$(#page).scrollTop(); vars.sec_loaded false; window.scrollTo(0, 0); $(#scroll_div).empty(); //alert(url.indexOf(proof_login)); //if (url.indexOf(proof_login) -1){ //alert(getDocHeight()); //alert(url); $(#page).load(url, function() { //alert(url); /* if ($(#doc_bg).length){ if (!$(#doc_bg).data(opened)){ $(#doc_bg).css({ display: none, visibility: visible }); $(#doc_bg).data(opened, true); $(#doc_bg).fadeIn(); } } */ open_site(); /*if (!vars.mobile || (vars.mobile && active_sec home)){ if ($(#home_links_div).length){ if (!$(#home_links_div).data(opened)){ $(#home_links_div).data(opened, true); $(#home_links_div).css({ display: none, visibility: visible }); $(#home_links_div).html(vars.home_featured_html); $(#home_links_div).fadeIn(); } } }*/ if (vars.mobile){ if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(function(){ bluSetLoginBtn(); }); } } /*if (!$(#login_buttons).data(opened)){ $(#login_buttons).css({ display: none, visibility: visible }); $(#login_buttons).data(opened, true); $(#login_buttons).fadeIn(); }*/ $(img).bind(dragstart, function(event) { event.preventDefault(); }); // //set gallery music //check if there are images in the section set_size(new); if ($(#favorites_btn).length){ $(#favorites_btn).css({ display:, visibility: visible }); //alert(test); /*$(#favorites_btn).fadeIn(); $(#favorites_btn_img).load(function(){ $(#favorites_btn).css({ display:, visibility: visible }); });*/ } //if(vars.fonts_loaded true || true) { $(#page).css({ display: none, visibility: visible }); //set_size(); $(#page).fadeTo(slow, 1, function() { set_size(); }); //} else { // font_int setInterval(monitor_fonts(), 1000); // $(#page).css({ // display: none, // visibility: hidden // }); //} if (active_sec collage){ position_collages(); load_collage(1); //set_color(0); } else if (active_sec featured){ //position_featured(); display_featured(1); set_color(0); } else if (active_sec news){ //position_featured(); display_featured_text(1); set_color(0); } else if (active_sec sale){ //position_featured(); display_featured_text(1); set_color(0); } else if (active_sec video_sec){ //position_video_gal(); load_video_gal(1); set_color(0); } else if(active_sec widget link) { //get_widget(vars.active_sec_id, active_btn); $(#widget_div + vars.active_sec_id).css({ display: none, visibility: visible }); $(#widget_div + vars.active_sec_id).fadeIn(); //$(#img_container_div1).fadeIn(function(){ if ($(#text_div).length){ $(#text_div).css({ display: , visibility: visible }); $(#title_div).css({ display: none, visibility: visible }); $(#title_line_left).css({ display: none, visibility: visible }); $(#title_line_right).css({ display: none, visibility: visible }); $(#text_div ).css({ display: none }); $(#text_div).fadeIn(function(){ //if ($.trim($(#title_div).html()) ! ){ $(#title_div).fadeIn(); $(#title_line_left).fadeIn(); $(#title_line_right).fadeIn(); //} }); } //}); } else if (active_sec testimonials){ display_test_thumbnails(); display_test(1); $(#title_div).css({ display: none, visibility: visible }); $(#title_div).fadeIn(); //position_testimonial(1); set_color(0); } else if (active_sec video){ position_videos(); if (vars.video_count > 1){ // load_video(1); } else { // load_video(1); } set_color(0); } else if (active_sec home || active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ vars.curr_img 0; vars.old_img 0; vars.page_no 0; set_color(1); if (active_sec home){ //if ( vars.active_sec_type home){ // start_slideshow(); //} else if ( vars.active_sec_type video){ // load_video(1); //} loadHomeImages(); position_home_sections(); } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ if (vars.gallery_view thumbs_only){ //display with row of thumbnails display_thumbs_only(1); vars.main_gallery_view thumbs_only; } else if (vars.gallery_view blogstyle || vars.mobile){ vars.main_gallery_view blogstyle; vars.gal_img_xpos 0; //if(vars.mobile) { // display_thumbs_only(1); //} else { load_gal_images(1); //} } else { if(vars.gallery_view slideshow) { open_image_preview(1, slideshow); slide_playing true; vars.main_gallery_view slideshow; $(#slideshow_btn).html(STOP SLIDESHOW); if ($(#slideshow_btn).length){ $(#slideshow_btn).css({ display:none, visibility: visible }); $(#slideshow_btn).fadeIn(); } } else { open_image_preview(1); } } } } else { set_color(0); for (var i1; isec_count; i++){ if (active_sec text){ //vars.text_pos sec_arrayi.text_pos; //debug(i + + sec_arrayi.text_pos); if(sec_arrayi.media_type video || sec_arrayi.text_pos center || sec_arrayi.text_pos right) { $(#content_div + i).css({ display:none, visibility:visible }); $(#content_div + i).fadeIn(slow); } } } } //$(imgid*shadow).attr(src, ); $(divid*shadow).empty(); vars.sec_loaded true; //HIDE LOADER //$(#spinner).fadeOut(); //if(active_sec ! proof_gallery) { //if(vars.fonts_loaded){ $(#loader_div).fadeOut(); //} //} }); //end load // } //else { // process_proof_login(./blu_source/proof_login_profile.php); //} }); //} } } }); }); function monitor_fonts() { if(vars.fonts_loaded true && vars.fonts_handled false) { clearInterval(font_int); font_int -1; set_size(new); if(active_sec home){ position_home_sections(); } else if(active_sec featured) { position_featured(); } $(#page).css({ display: none, visibility: visible }); $(#page).fadeTo(slow, 1); $(#loader_div).fadeOut(); vars.fonts_handled true; } } //POSITION & SIZE PAGE ELEMENTS if (!vars.mobile){ $(window).resize(function(){ set_size(resize); }); } else if (vars.mobile){ window.addEventListener(orientationchange, function() { // Announce the new orientation number set_size(flip); }, false); } var site_w 1050; var site_h 700; var site_r site_w/site_h; var vpadding 80; var hpadding 25; var copy_vspace 40; vars.max_img_w site_w - img_fr_w * 2; vars.max_img_h site_h - img_fr_w * 2; vars.max_home_img_w vars.max_img_w; vars.max_home_img_h vars.max_img_h; vars.logo_menu_w 0; var win_w, win_h, max_w, max_h, min_w, content_w, content_h, site_total_h; win_w 0; function get_size(type){ //alert($(window).width()); if (type resize || type flip || win_w 0){ win_w $(window).width(); } win_h $(window).height(); vars.side_menu_w $(#logo_div).data(w) + 70; if( vars.menu_w > $(#logo_div).data(w)) { vars.side_menu_w vars.menu_w + 35; } if(vars.menu_position top || vars.menu_position top_above_logo || vars.mobile) { vars.side_menu_w 0; } if (vars.mobile){ max_w win_w; } else { max_w win_w - vars.side_menu_w - 70; } //vars.menu_w 0; //for (var i1; ibtn_count; i++){ // vars.menu_w + $(#btn_div + i).width(); // if (i btn_count){ // vars.menu_w + 15; // } //} min_w vars.menu_w + $(#logo_div).data(w) + 15 * 5; if(vars.menu_position top || vars.menu_position top_above_logo) { vars.menu_h 12 + 4; //vars.menu_h $(#btn + 1).data(h); } //vars.menu_h 12 + 3 + 5 * 2; //alert(vars.menu_w + + content_w); //if (vars.menu_w > content_w){ // vars.menu_h + 12 + 3 + 10; //} vars.menu_over_h 0;//parseInt(22px); vars.logo_h 67; vars.min_vpadding vars.logo_h + 90 + vars.menu_h; if (vars.mobile){ vars.min_vpadding vars.logo_h + content_padding * 2 + 10 + 40; } if (vpadding vars.min_vpadding){ vpadding vars.min_vpadding; } max_h win_h - 150 - vpadding; //max_h 65 * 5 + content_padding * 4; if (max_h 500 && !vars.mobile){ max_h 500; } //alert(max_h); content_h site_h; content_w site_w;//content_h * site_r + 0; //get_thumbs_width(1.5, 5); //content_w + img_fr_w * 2 + vars.thumbs_w - content_padding * 2; //alert(content_w + + min_w); if (content_w min_w){ //content_w min_w; //content_h content_w/site_r; } if (content_w > max_w){ content_w max_w; //content_h content_w/site_r; } //content_h win_h - 150 - vpadding - content_padding*3; if (vars.mobile){ content_w max_w win_w - content_padding; } site_total_h 0;//content_h;// + content_padding * 4; vars.max_img_w max_w; vars.max_img_h content_h; if (active_sec home){ vars.max_img_w content_w - img_fr_w * 2; vars.max_img_h vars.max_img_w / site_r; } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ //vars.max_img_w content_w - content_padding - 100; //vars.max_img_w content_w - img_fr_w * 2 - 0; if (vars.mobile){ vars.max_img_w content_w; vars.max_img_h vars.max_img_w / site_r; } else { vars.max_img_w content_w;//vars.max_img_h * site_r; vars.max_img_h vars.max_img_w / site_r; //if (vars.max_img_w > (content_w - 100)){ //vars.max_img_w (content_w - 150); //} } } // vars.max_img_h vars.max_img_w/site_r; if (content_h > vars.max_img_h){ content_h vars.max_img_h; //vars.max_img_w vars.max_img_h * site_r; } vars.min_win_w 1000; //if (content_w 900){ //content_w 900; //} vars.text_content_w content_w; //get featured img dimensions if (!vars.mobile){ vars.main_max_thumbs_per_row 3; } else { vars.main_max_thumbs_per_row 1; } var r 400/600; if (!vars.mobile){ vars.main_featured_img_w Math.ceil((vars.text_content_w - img_fr_w * (vars.main_max_thumbs_per_row + 1) - 380) / vars.main_max_thumbs_per_row) - 1; } else { vars.main_featured_img_w Math.ceil((vars.text_content_w - content_padding * (vars.main_max_thumbs_per_row - 1))/vars.main_max_thumbs_per_row) - 80; } vars.main_featured_img_h vars.main_featured_img_w * r; if (!vars.mobile){ vars.footer_h vars.main_featured_img_h; } //if (content_w > max_w && max_w vars.min_win_w){ //vars.text_content_w max_w; //} } function set_size(type){ //POSITION INTERFACE get_size(type); //alert(type); var menu_bg_h $(#menu_bg_div).height(); if(vars.mobile){ menu_bg_h 40; } if(vars.mobile){ vars.interface_ypos $(#logo_div).data(h) + 0 * 2 + 15 + content_padding * 2; } else { //vars.interface_ypos $(#logo_div).data(h) + 0 + 2 * 30 + vars.menu_h + 4 * 2 + content_padding + 30; vars.interface_ypos $(#logo_div).data(h) + (header_padding * 2) + vars.social_h; } var total_width vars.side_menu_w + content_w + 35; var content_area win_w - vars.side_menu_w; vars.interface_ypos 10 + 35; vars.interface_xpos vars.side_menu_w + ((win_w - total_width) / 2); //(win_w - content_w)/2; if(vars.menu_position right && !vars.mobile) { var total_width vars.side_menu_w + content_w - 35; vars.interface_xpos ((win_w - total_width) / 2); // - vars.side_menu_w / 2 + 35; //vars.interface_ypos vars.social_ypos; } else if(vars.menu_position top || vars.menu_position top_above_logo) { vars.interface_xpos ((win_w - content_w) / 2); //debug(header_padding); vars.interface_ypos $(#logo_div).data(h) + $(#menu_div).height() + (14) + (3 * header_padding) + vars.social_h + 10 ; // + vars.social_h //debug($(#logo_div).data(h) + + vars.menu_h + + vars.social_h + + vars.interface_ypos); } else if(vars.mobile) { vars.interface_xpos ((win_w - content_w) / 2); } if(vars.mobile) { vars.interface_ypos $(#logo_div).data(h) + vars.menu_h + ( header_padding * 4) ; } $(#interface_div).css({ top: vars.interface_ypos, left: vars.interface_xpos }); if (!$(#logo_bg).data(opened)){ //if (!vars.mobile){ $(#logo_bg).css({ display: none, visibility: visible }); $(#logo_bg).data(opened, true); $(#logo_bg).fadeIn(fast); //} } if ($(#back_to_top).length){ var btn_w $(#back_to_top).width(); $(#back_to_top).width(content_w); $(#back_to_top).css({ bottom: 40, left: vars.interface_xpos //win_w - btn_w - 20 }); } if ($(#login_form_div).length){ var logo_w $(#logo_div).data(w); var logo_h $(#logo_div).data(h); var login_ypos 0 + 15 + (logo_h - $(#login_form_div).height()) / 2 + 5; var login_ypos 10 + (( logo_h - $(#login_form_div).height()) / 2) ; //logo_h + header_padding * 3 + 10 + vars.menu_h ; if(vars.mobile) { login_ypos $(#logo_bg).height() + 30; } if (vars.logo_pos left || vars.logo_pos left){ var login_xpos vars.interface_xpos + content_w - $(#login_form_div).width(); } else { var login_xpos vars.interface_xpos; } if(!vars.mobile) { // var login_xpos vars.interface_xpos + ((content_w - $(#login_form_div).width() ) / 2); } var login_w $(#login_form_div).width(); //var signin_x $(#signin_btn).position().left; if (vars.profile_logged){ //signin_x $(#profile_name_div).position().left; } $(#login_form_div).css({ top: login_ypos, left: login_xpos, z-index: 15998 }); if (!$(#login_form_div).data(opened) && active_sec proof_gallery){ $(#login_form_div).data(opened, true); $(#login_form_div).css({ display:none, visibility:visible }); $(#login_form_div).fadeIn(); } else if ($(#login_form_div).data(opened) && active_sec ! proof_gallery){ $(#login_form_div).data(opened, false); $(#login_form_div).fadeOut(); } } vars.logo_bg_h 0; //logo_bg_h; position_menu_btn_over(); position_menu(resize); bluSetLoginBtn(); //POSITION PATTERN if ($(#pattern_top).length ){ $(#pattern_top).width(content_w); $(#pattern_top).css({ left: vars.interface_xpos }); } if (!$(#pattern_top).data(opened)){ $(#pattern_top).css({ display: none, visibility: visible }); $(#pattern_top).data(opened, true); $(#pattern_top).fadeIn(fast); } //POSITION LOGO var logo_bg_h 0; if ($(#logo_div).length ){ if(!vars.mobile) { //$(#logo_div).width(content_w); } //vars.menu_h $(#btn_div1).height(); var logo_margin 10; if (!vars.mobile){ var logo_bg_x 0; var logo_bg_y 0; var logo_bg_w win_w; vars.logo_ypos 10; // + ; //vars.interface_ypos - $(#menu_bg).height() + ($(#menu_bg).height() - $(#logo_div).data(h))/2; if (vars.logo_pos left){ vars.logo_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.logo_xpos (win_w - $(#logo_div).data(w))/2; } else if (vars.logo_pos right){ vars.logo_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); } vars.logo_xpos vars.interface_xpos; // - vars.side_menu_w; // + 35; if(vars.menu_position right) { vars.logo_xpos vars.menu_xpos + vars.side_menu_w - $(#logo_div).data(w) - 70; } else if(vars.menu_position top) { var logo_w $(#logo_div).data(w); //vars.logo_xpos (win_w - logo_w)/2; vars.logo_xpos vars.interface_xpos; if (vars.logo_pos left){ vars.logo_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.logo_xpos (win_w - $(#logo_div).data(w))/2; } else if (vars.logo_pos right){ vars.logo_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); } vars.logo_ypos 10; } else if(vars.menu_position top_above_logo) { vars.logo_xpos (win_w - $(#logo_div).data(w))/2; vars.logo_ypos 10 + vars.menu_h + 14 + header_padding; } //vars.logo_xpos vars.interface_xpos;//(win_w - $(#logo_div).data(w))/2; //alert(vars.interface_xpos); } else { var logo_bg_x 0; var logo_bg_y 0; var logo_bg_w win_w; var logo_w $(#logo_div).data(w); var logo_h $(#logo_div).data(h); var logo_rel logo_w / logo_h; if(logo_w > content_w) { var new_logo_w content_w; var new_logo_h new_logo_w / logo_rel; $(#logo_div_img).width(new_logo_w); $(#logo_div_img).height(new_logo_h); $(#logo_div).data(w, new_logo_w); $(#logo_div).data(h, new_logo_h); } vars.logo_ypos 40 + 10; vars.logo_xpos (win_w - $(#logo_div).width())/2; } logo_bg_h $(#logo_div).data(h) + 4*30; if(false) { $(#logo_bg).width(logo_bg_w); $(#logo_bg).height(logo_bg_h); $(#logo_bg).css({ top: logo_bg_y, left: logo_bg_x }); } $(#logo_div).css({ top: vars.logo_ypos, left: vars.logo_xpos }); //alert($(#logo_div).data(loaded)); /* if ($(#logo_div).data(loaded) && !$(#logo_div).data(opened) && (vars.logo_xpos > 0 || vars.mobile)){ $(#logo_div).data(opened, true); $(#logo_div).css({ display: none, visibility: visible }); $(#logo_div).fadeIn(1500, function() { if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(1500); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ top: vars.site_icons_ypos - 2, display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(1500, function(){ bluSetLoginBtn(); }); } }); } */ } var min_site_h site_total_h + vpadding + content_padding; vars.site_total_h win_h; if (vars.site_total_h min_site_h){ vars.site_total_h min_site_h; } vars.interface_h site_total_h; vars.site_h vars.site_total_h; //$(#site_div).height(getDocHeight()); //$(#invis_site_div).height(vars.site_h); //$(#site_div).width(vars.text_content_w); //$(#footer_div).width($(#site_div).width()); $(#interface_div).width(content_w); /*if ((active_sec galleries || active_sec proof_gallery || active_sec fav_gallery) && vars.thumbnails no && !vars.gallery_view ! thumbs_only){ $(#interface_div).width(win_w - 20); } else { if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery ){ $(#interface_div).width(vars.text_content_w); } else { $(#interface_div).width(content_w); } }*/ $(#interface_div).height(vars.interface_h); //vars.interface_ypos (win_h - site_total_h)/2; if ($(#site_div).length){ $(#site_div).width(content_w + 70); $(#site_div).height(win_h); //$(#site_div).height(getDocHeight()); $(#site_div).css({ display:block, left: vars.interface_xpos - 35, top: 0 }); if (!$(#site_div).data(opened)){ $(#site_div).data(opened, true); $(#site_div).fadeIn(); } } //SET SECTION WIDTH & HEIGHT if ($(#section).length){ $(#section).width(content_w); //$(#section).height(content_h + vpadding); } if ($(#img_content_frame_div).length){ $(#img_content_frame_div).width(content_w + content_padding*4); $(#img_content_frame_div).height(content_h + content_padding*6); $(#content_frame_div).css({ top: vars.interface_ypos - content_padding*2, left: vars.interface_xpos - content_padding*2 }); } if ($(#bg_img).length){ $(#bg_img).height(win_h); $(#bg_img).css({ position: fixed, z-index:-1 }); if(vars.menu_bg_type ! full_window && vars.site_bg_type interface && vars.background_option custom ) { $(#bg_img).width(content_w + (2* 35) - 10); $(#bg_img).css({ left: vars.interface_xpos - 35, border-left: 5 + px solid #ffffff, border-right: 5 + px solid #ffffff, }); } } //SET WATERMARK if ($(#watermark).length && !vars.mobile && false){ if ((active_sec home && vars.featured_count 0) || vars.gallery_view thumbs_only){ vars.water_xpos vars.interface_xpos + (content_w - $(#watermark).width())/2; } else { vars.water_xpos vars.interface_xpos + 0 + (content_w - 0 - $(#watermark).width())/2; } $(#watermark).css({ top: vars.water_ypos, left: vars.water_xpos }); if (active_sec ! proof_gallery && active_sec ! galleries && active_sec ! home && active_sec ! fav_gallery){ $(#watermark).css({ display: , visibility: hidden }); } } //POSITION TEXT SECTION if (active_sec text){ if (vars.sec_loaded || type flip || type resize){ //setSecImages(1, true, 1, true); if(sec_count > 1) { for (var i1; i sec_count; i++){ var text_position sec_arrayi.text_pos; //; //debug(i + + sec_count + + text_position); if(text_position ! center && text_position ! ) { scaleSecImages(i, true); //setSecImages(i, true, sec_count, false); //break; } } } else { var text_position ; ///debug(pos + text_position); if(text_position ! center) { scaleSecImages(1, true); //setSecImages(1, true, sec_count, false); } } if(vars.sub_type news || vars.sub_type sale) { //alert(news); if(type resize || type flip) { for (var i1; i sec_count; i++){ position_news(i); } } } else { position_text(); } } //POSITION CONTACT SECTION } else if (active_sec contact){ //if (vars.sec_loaded && !1){ if (vars.sec_loaded || type resize){ //alert(scale); scaleSecImages(1, false); } //POSITION PROOFING LOGIN SECTION } else if (active_sec proof){ //if (vars.sec_loaded && !1){ if ((vars.sec_loaded || type resize) && vars.text_pos ! center){ //alert(scale); scaleSecImages(1, false); } //POSITION PROOFING LOGIN SECTION } else if (active_sec proof_preview){ if (vars.sec_loaded){ position_proof_preview(); } //POSITION GALLERY ELEMENTS } else if (active_sec featured){ if (vars.sec_loaded){ if( (type resize || type flip) && vars.mobile true){ display_featured(vars.page_no); } else { position_featured(); } } } else if (active_sec news || active_sec sale){ if (vars.sec_loaded || type resize || type flip){ //alert(type); if( (type resize || type flip) && vars.mobile){ display_featured_text(vars.page_no); //scaleSecImages(1, false); //position_featured_text(); } else { position_featured_text(); } } } else if (active_sec widget link){ if (vars.sec_loaded){ //position_widget(); } } else if (active_sec video){ if (vars.sec_loaded){ position_videos(); //position_video_thumbs(); } } else if (active_sec home){ if (vars.sec_loaded){ //if ( vars.active_sec_type home && vars.featured_count > 0){ //position_home_featured(); //} else if ( vars.active_sec_type video){ // position_video_thumbs(); //} position_home_sections(); } } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ if (vars.gallery_view ! blogstyle){ if (vars.gallery_view thumbs_only && (type flip && vars.mobile)){ display_thumbs_only(vars.page_no); //position_thumbs_only(); } else if((vars.gallery_view thumbs_only && type resize && !vars.mobile)) { //scale_thumbs_only(); position_thumbs_only(); } else if(vars.gallery_view arrow_nav) { //position_arrow_nav(); //scale_preview_image(); } /*else if (vars.gallery_view slideshow){ if (vars.curr_img > 0){ resize_image(resize); } position_thumbs(); }*/ } else { if( (type resize || type flip)) { scale_gal_images(); } position_footer(); } } if (vars.site_h > vars.site_total_h){ //$(#site_div).height(vars.site_h); if (!vars.scroll_msg){ $(#scroll_msg).css({ top: win_h - $(#scroll_msg).height() - 18, left: (win_w - $(#scroll_msg).width())/2, visibility: visible, display: none }); $(#scroll_msg).delay(200).fadeIn().delay(2000).fadeOut(); vars.scroll_msg true; } } if ($(#sound_player_div).length){ vars.sound_xpos vars.interface_xpos;// + content_w - $(#sound_player_div).width() - 25; } if (active_sec proof_gallery){ vars.back_xpos vars.interface_xpos + content_w - $(#back_btn).width();// + content_padding + vbar_w + 3;// - $(#back_btn).width();//(win_w - $(#copyright_div).width())/2; vars.back_ypos vars.copy_ypos + 20;//win_h - 30;//site_total_h - $(#copyright_div).height(); $(#back_btn).css({ top: vars.back_ypos, left: vars.back_xpos, visibility: visible, display: none }); if (vars.proof_client_type multi){ $(#back_btn).fadeIn(); } } if ($(#footer_div).length){ if (!vars.mobile){ $(#footer_div).width(content_w); } else { $(#footer_div).width(win_w); } vars.main_featured_w 0; if (vars.main_featured_count > 0 && !vars.mobile){ if (vars.main_featured_count > 3){ vars.main_featured_w 3 * vars.main_featured_img_w + 3 * content_padding; } else { vars.main_featured_w vars.main_featured_count * vars.main_featured_img_w + vars.main_featured_count * content_padding; } $(#footer_div).width(content_w - vars.main_featured_w); } //$(#footer_border_div).height($(#footer_div).height() - 16 - 2); $(#footer_border_div).height(0); $(#footer_border_div).width($(#footer_div).width() - 16 - 2); //if ((active_sec text && vars.sub_type blog-style) || active_sec featured || active_sec collage || active_sec video){ position_footer(); if (!vars.mobile){ var footer_x 35; if(vars.menu_bg_type ! full_window) { footer_x vars.interface_xpos; // - 35 + 5; } $(#footer_div).css({ left: footer_x //vars.interface_xpos + content_w - $(#footer_div).width() }); } else { $(#footer_div).css({ left: 0 }); } /*} else { vars.footer_top_goal vars.interface_ypos + content_padding * 2 + content_h; $(#doc_bg).height(content_h); $(#footer_div).css({ top: vars.footer_top_goal, left: vars.interface_xpos + content_w - $(#footer_div).width() }); }*/ } //position_home_featured(); //$(#footer_div).height(vars.footer_h); //SET SOCIAL ICONS position_icons(); } /script>!-- START SHOPPOING CART -->/head>body>div styledisplay:none; position:absolute>a hrefhttp://danielleeileenphotography.com/index.php#!/HOME>HOME/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/BIO>BIO/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/GALLERIES>GALLERIES/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/THE_DETAILS>THE DETAILS/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/CONTACT>CONTACT/a>br>a hrefhttp://danielleeileenphotography.com/index.php#!/TESTIMONIALS>TESTIMONIALS/a>br>/div>!-- DISPLAY WALL -->!-- div iddoc_bg styleborder:0px solid; position:absolute; background-color:#ffffff; visibility:hidden>/div> -->script typetext/javascript> //$(#doc_bg).data(opened, false);/script>!-- BACKGROUND -->!-- INVISIBLE SITE OBJ -->!-- div idinvis_site_div styleposition:absolute; visibility:hidden; display:none; border:0px solid> /div> --> div idsite_div styleposition:fixed; display:none; border:0px solid; border-right:0px solid; z-index:-1; padding-right:0px; padding-left:0px; background-color:#ffffff;> /div> script typetext/javascript> $(#site_div).data(opened, false); /script> div idfooter_div styleposition:absolute; margin:0 auto; visibility:hidden; vertical-align:middle; background-color:#ffffff; border-top:1px solid #c6c6c6; z-index:149998> !-- COPYRIGHT LINE --> div idcopyright_div styleposition:relative; text-align:left; padding-left:0px; padding-top:15px; padding-bottom:5px; > a classcopyright idcopyright hrefwww.danielleeileenphotography.com target_blank>images copyright © Danielle Eileen Photography 2020/a> /div> !-- SOCIAL LINK BTNS --> div idfooter_email_div styleposition:relative; text-align:left; padding-left:0px; padding-top:0px; padding-bottom:50px; > span classcopyright>EMAIL: /span>span classcopyright>a hrefmailto:danielle@danielleeileenphotography.com>danielle@danielleeileenphotography.com/a>/span> /div> div idfooter_border_div> /div> /div>script typetext/javascript> $(#footer_div).data(opened, false);/script>div idscroll_div styleposition:fixed; font-family:Cinzel, serif; padding-top:10px; z-index:900500; color:#000000; bottom:0;>/div>!-- CONTENT -->div idinterface_div stylevisibility:visible; position:absolute; border:0px solid; padding-top:0px; z-index:70950>div idpage styleborder:0px solid;>/div>!-- LOADER -->/div>!-- END CONTENT -->!--div idmenu_div styleposition:absolute>-->!--ul idmenu_ul stylefloat:left; list-style:none; >-->!--div idsubmenu_bg styleposition:absolute; visibility:hidden;>img idsubmenu_bg_img src />/div>--> div idmenu_bg_div styleposition:absolute;z-index:501; visibility:hidden; background:none; border-bottom:1px solid #c6c6c6 > /div> div idmenu_divider_holder styleposition:absolute>/div>div idmenu_btn_line classmenu_btn_line>/div>script typetext/javascript>$(#menu_bg).data(opened, false);$(#img_menu_btn_over).load(function(){ //alert($(#menu_btn_over).data(loaded)); $(#menu_btn_over).data(loaded, true);});function position_menu_btn_over(){ }function position_menu(type){ //POSITION MENU var logo_bg_h 0; //$(#logo_bg).height(); // $(#logo_div).data(h) + 30 * 4; //get menu width vars.menu_w 0; vars.menu2_w 0; var login_h 30; if($(#login_form_div).length) { login_h $(#login_form_div).height(); } if (vars.fonts_loaded){ var bg_h $(#menu_div).height() + (14); //if ($(#btn1).data(w) 0){ vars.btn_count2 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ vars.btn_count2++; $(#btn + i).data(w, $(#btn_div + i).width()); $(#btn + i).data(h, $(#btn_div + i).height()); $(#btn + i).data(w_scaled, $(#btn_div + i).width()); $(#btn + i).data(h_scaled, $(#btn_div + i).height()); } } //} vars.menu_w 0; vars.menu_h 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ if(vars.menu_position ! top && vars.menu_position ! top_above_logo) { if($(#btn + i).data(w) > vars.menu_w) { vars.menu_w $(#btn + i).data(w); } vars.menu_h + $(#btn + i).data(h) + 3 + 5 * 2; } else { //vars.menu_h $(#btn + 1).data(h); vars.menu_h 12 + 4; } //if (menu_arrayi.menu_group 1){ //if (i ! active_btn){ if(vars.menu_position top || vars.menu_position top_above_logo) { vars.menu_w + $(#btn + i).data(w); } //} else { // vars.menu_w + $(#btn + i).data(w_scaled); //} if (i vars.btn_count2 && vars.menu_position top){ //vars.menu_w + 15; } // } //else { //vars.menu2_w + $(#btn_div + i).width() + 15; //} } } if(vars.menu_position top) { //vars.menu_w - 15; } //vars.menu_xpos (win_w - vars.menu_w)/2; //alert(0 + + 30); //vars.menu_ypos $(#logo_div).data(h) + 0 + 45; vars.menu_ypos $(#logo_div).data(h) + vars.social_h + (content_padding * 2) + 10; if(vars.menu_position top) { vars.menu_ypos 10 + $(#logo_div).data(h) + logo_padding + 7; // - $(#menu_div).height() - ( 14) + 8; // + header_padding; } else if(vars.menu_position top_above_logo) { vars.menu_ypos 7; } var menu_max_w content_w - $(#logo_div).data(w) - 15 * 4; var this_menu_h 12 + 3 + 5 * 2; //alert(vars.menu_w + + content_w); if (vars.menu_w > content_w){ this_menu_h + 12 + 3 + 10; } if (!vars.mobile){ vars.site_icons_ypos vars.menu_ypos + 30 * 2 + this_menu_h - $(#favorites_btn).data(h)/2 - 4; } if(false) { //alert(menu_h); $(#menu_borders).width(content_w); $(#menu_borders).height(this_menu_h + 30 * 2 + 1 * 2); var border_x1 0; var border_x2 content_w; var border_y 1;//vars.menu_ypos; if (!$(#menu_borders).data(opened)){ var menu_borders Raphael(menu_borders); $(#menu_borders).data(opened, true); menu_borders.clear(); menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + 4; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + (this_menu_h + 30 * 2) - 4 * 2; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); border_y + 4; menu_borders.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); } $(#menu_borders).css({ top: vars.menu_ypos - 1, left: vars.interface_xpos }); } //if ($(#menu_div).width() > menu_max_w){ // $(#menu_div).width(menu_max_w); //} /*if (vars.logo_pos right || vars.logo_pos left){ vars.menu_xpos vars.interface_xpos; } else if (vars.logo_pos center){ vars.menu_xpos vars.interface_xpos + (content_w - vars.menu_w)/2; }*/ vars.menu_xpos vars.interface_xpos; if (vars.menu_w > content_w){ vars.menu_w content_w; } if (vars.logo_pos center){ vars.menu_xpos (win_w - vars.menu_w)/2; } vars.menu_xpos vars.interface_xpos - vars.side_menu_w; // + 35; var menu_justification left; if(vars.menu_position right) { vars.menu_xpos vars.interface_xpos + content_w + 70; } else if(vars.menu_position top || vars.menu_position top_above_logo) { //vars.menu_xpos vars.interface_xpos + ((content_w - vars.menu_w) / 2); //((win_w - vars.menu_w) / 2); vars.menu_xpos vars.interface_xpos + ((content_w - vars.menu_w) / 2); //((win_w - vars.menu_w) / 2); if(menu_justification left) { vars.menu_xpos vars.interface_xpos; } else if (menu_justification right) { vars.menu_xpos vars.interface_xpos + content_w - vars.menu_w; //((win_w - vars.menu_w) / 2); } } var min_xpos vars.interface_xpos + $(#logo_div).width() + 30; if(vars.menu_xpos min_xpos) { //vars.menu_xpos min_xpos; } //vars.menu_xpos (win_w - $(#menu_div).width()) / 2; //if(vars.menu_position ! top && vars.menu_position ! top_above_logo) { //$(#menu_div).width(vars.menu_w); //} $(#menu_div).css({ top: vars.menu_ypos, left: vars.menu_xpos }); if(vars.menu_position top || vars.menu_position top_above_logo) { var ribbon_w 22 + 5; var menu_bg_style single_line; $(#menu_bg_div).height(bg_h); if(vars.menu_bg_type full_window) { var goal_w win_w - 70; var goal_left 35; if(menu_bg_style ribbons || menu_bg_style outer_arrows) { goal_w win_w - (ribbon_w * 2); goal_left ribbon_w } $(#menu_bg_div).width(goal_w); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: goal_left }); } else if(vars.menu_bg_type full) { var logo_pad 30; var goal_w content_w; // - $(#logo_div).width() - logo_pad; var goal_left vars.interface_xpos; // + $(#logo_div).width() + 30; if(menu_bg_style ribbons) { goal_w content_w - (ribbon_w * 2); goal_left vars.interface_xpos + ribbon_w } if( (menu_bg_style single_line || menu_bg_style double_line)) { //goal_w content_w + 70 - 10; //goal_left vars.interface_xpos - 35 + 5; } $(#menu_div).width(goal_w); $(#menu_bg_div).width(goal_w); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: goal_left }); } else { $(#menu_bg_div).width(vars.menu_w + (40 * 2)); $(#menu_bg_div).css({ top: vars.menu_ypos - 7, left: vars.menu_xpos - 40 }); } if($(#menu_bg_top_line).length) { $(#menu_bg_top_line).css({ top:6, visibility:visible }); } if($(#menu_bg_bottom_line).length) { $(#menu_bg_bottom_line).css({ top:bg_h - 6, visibility:visible }); } if($(#menu_bg_arrow_right).length) { if(menu_bg_style inner_arrows || menu_bg_style inner_arrows_lines) { $(#menu_bg_arrow_right).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #ffffff, left:0 }); } else if(menu_bg_style outer_arrows) { $(#menu_bg_arrow_right).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #c6c6c6, left:$(#menu_bg_div).width() }); } } if($(#menu_bg_arrow_left).length) { if(menu_bg_style inner_arrows || menu_bg_style inner_arrows_lines) { $(#menu_bg_arrow_left).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #ffffff, left:$(#menu_bg_div).width() - 22 }); } else if(menu_bg_style outer_arrows) { $(#menu_bg_arrow_left).css({ visibility:visible, border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #c6c6c6, left:-22 }); } } if($(#menu_bg_ribbon_bg_left).length) { $(#menu_bg_ribbon_bg_left).width(ribbon_w); $(#menu_bg_ribbon_bg_left).height(bg_h); $(#menu_bg_ribbon_bg_left).css({ top: 6, left: -22 - 8, visibility: visible }); $(#menu_bg_ribbon_arrow_left).css({ border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-left: 22 + px solid #ffffff, left:0 }); } if($(#menu_bg_ribbon_bg_right).length) { $(#menu_bg_ribbon_bg_right).width(ribbon_w); $(#menu_bg_ribbon_bg_right).height(bg_h); $(#menu_bg_ribbon_bg_right).css({ top: 6, left: $(#menu_bg_div).width() + 3, visibility: visible }); $(#menu_bg_ribbon_arrow_right).css({ border-top: (bg_h / 2) + px solid transparent, border-bottom: (bg_h / 2) + px solid transparent, border-right: 22 + px solid #ffffff, left: 5 }); } } //var menu_max_xpos vars.interface_xpos + content_w - $(#logo_div).data(w); var btn_no 0; var divider_no 0; var max_btn_w 0; for (var i1; ibtn_count; i++){ if (menu_arrayi.visible){ btn_no++; if ($(#btn_div + i).width() > max_btn_w){ max_btn_w $(#btn_div + i).width(); } //vars.menu_xpos + $(#btn + i).data(w) + 15; //vars.menu_ypos + $(#btn + i).data(h) + 3; } } vars.menu_logo_w vars.menu_xpos - vars.interface_xpos + 100; //alert(vars.menu_logo_w + + content_w); if ($(#btn1).data(w) > 0){ for (i1; ibtn_count; i++){ if (menu_arrayi.visible){ if ((active_btn > 0 || active_sec fav_gallery || active_sec cart || active_sec profile) && vars.fonts_loaded && !$(#btn_div + i).data(opened) && $(#btn_div + i).data(show)){ $(#btn_div + i).css({ display: none, visibility: visible }); //var type menu_arrayi.type; //if(type proof && vars.proof_status ! logged) { //} else { $(#menu_btn_underline + i).width(vars.side_menu_w - 70); if(vars.menu_position right) { $(#btn_div + i).width(vars.side_menu_w - 70); } $(#btn_div + i).fadeIn(vars.entry_animation_speed); $(#btn_div + i).data(opened, true); if(!$(#menu_btn_underline + i).data(opened) && i btn_count) { $(#menu_btn_underline + i).css({ display: block, visibility: visible }); $(#menu_btn_underline + i).fadeIn(); $(#menu_btn_underline + i).data(opened, true); } //position_menu(); if (i btn_count){ if ($(#menu_btn_over).length){ if (!$(#menu_btn_over).data(opened)){ position_menu_btn_over(); $(#menu_btn_over).data(opened, true); $(.btn_bullet).css({ visibility:visible }); } } if (!$(#login_form_div).data(opened) & false){ //if (!vars.mobile){ $(#login_form_div).css({ display: none, visibility: visible }); $(#login_form_div).data(opened, true); $(#login_form_div).fadeIn(fast); //} } if (!$(#menu_div).data(opened)){ $(#menu_div).css({ display: none, visibility: visible }); $(#menu_div).data(opened, true); $(#menu_div).fadeIn(fast); } } } } } } position_menu_btn_over(); }}$(window).resize(function(){ position_menu_btn_over();});/script>span idmenu_div classmenu_div stylez-index:502; position:absolute> !--div idbtn_bg1 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div1 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn1>HOME/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet1 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div1).data(show, true); /script> !--div idbtn_bg2 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div2 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn2>BIO/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet2 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div2).data(show, true); /script> !--div idbtn_bg3 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div3 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn3>GALLERIES/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet3 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div3).data(show, true); /script> !--div idbtn_bg4 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div4 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn4>THE DETAILS/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet4 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div4).data(show, true); /script> !--div idbtn_bg5 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div5 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn5>CONTACT/span>/td> td stylepadding-right:15px; padding-left:15px>div idbtn_bullet5 classbtn_bullet >/div>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div5).data(show, true); /script> !--div idbtn_bg6 styleposition:absolute; display:none; background-color:#> /div>--> div classmenu_btn_div alignleft idbtn_div6 styleposition:relative; float:left; visibility:hidden; ; border:0px solid; padding-bottom:5px > table cellpadding0 cellspacing0 border0>tr> td>span classmenu_btn idbtn6>TESTIMONIALS/span>/td> /tr>/table> /div> script languagejavascript typetext/javascript> $(#btn_div6).data(show, true); /script> /span> !--/ul>-->!--/div>-->!-- DISPLAY TEXT SECTION INFO --> div idinvis_url6_232 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id232/div> div idinvis_rel6_232 styleposition:absolute; display:none>6//232/div> div idinvis_meta6_232 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_218 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id218/div> div idinvis_rel6_218 styleposition:absolute; display:none>6//218/div> div idinvis_meta6_218 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_219 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id219/div> div idinvis_rel6_219 styleposition:absolute; display:none>6//219/div> div idinvis_meta6_219 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url6_220 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn6&order_num&text_sub_typenews&sec_id383&text_id220/div> div idinvis_rel6_220 styleposition:absolute; display:none>6//220/div> div idinvis_meta6_220 styleposition:absolute; display:none>TESTIMONIALS/div> div idinvis_url7_239 styleposition:absolute; display:none>blu_front/ANJA/blu_source/news_section.php?active_btn7&order_num&text_sub_type&sec_id384&text_id239/div> div idinvis_rel7_239 styleposition:absolute; display:none>7//239/div> div idinvis_meta7_239 styleposition:absolute; display:none>mini sessions/div> !-- DISPLAY FEATURED GALLERIES INFO --> div idfeatured_name3_176 styleposition:absolute; display:none>Family Portraits/div> div idfeatured_url3_176 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id176&gal_type&gal_nameFamily+Portraits/div> div idfeatured_rel3_176 styleposition:absolute; display:none>3/featured/Family_Portraits/176/div> div idfeatured_meta3_176 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_176_1 styleposition:absolute; display:none>none/div> div idsong_id3_176_2 styleposition:absolute; display:none>none/div> div idsong_id3_176_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_179 styleposition:absolute; display:none>Maternity & Newborn/div> div idfeatured_url3_179 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id179&gal_type&gal_nameMaternity+%26amp%3B+Newborn/div> div idfeatured_rel3_179 styleposition:absolute; display:none>3/featured/Maternity__amp;_Newborn/179/div> div idfeatured_meta3_179 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_179_1 styleposition:absolute; display:none>none/div> div idsong_id3_179_2 styleposition:absolute; display:none>none/div> div idsong_id3_179_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_180 styleposition:absolute; display:none>Children's Portraits/div> div idfeatured_url3_180 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id180&gal_type&gal_nameChildren%26%23039%3Bs+Portraits/div> div idfeatured_rel3_180 styleposition:absolute; display:none>3/featured/Children__039;s_Portraits/180/div> div idfeatured_meta3_180 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_180_1 styleposition:absolute; display:none>none/div> div idsong_id3_180_2 styleposition:absolute; display:none>none/div> div idsong_id3_180_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_181 styleposition:absolute; display:none>Seniors & Headshots/div> div idfeatured_url3_181 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id181&gal_type&gal_nameSeniors+%26amp%3B+Headshots/div> div idfeatured_rel3_181 styleposition:absolute; display:none>3/featured/Seniors__amp;_Headshots/181/div> div idfeatured_meta3_181 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_181_1 styleposition:absolute; display:none>none/div> div idsong_id3_181_2 styleposition:absolute; display:none>none/div> div idsong_id3_181_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_183 styleposition:absolute; display:none>Engagements/div> div idfeatured_url3_183 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id183&gal_type&gal_nameEngagements/div> div idfeatured_rel3_183 styleposition:absolute; display:none>3/featured/Engagements/183/div> div idfeatured_meta3_183 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_183_1 styleposition:absolute; display:none>none/div> div idsong_id3_183_2 styleposition:absolute; display:none>none/div> div idsong_id3_183_3 styleposition:absolute; display:none>none/div> div idfeatured_name3_182 styleposition:absolute; display:none>Weddings/div> div idfeatured_url3_182 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id375&gal_id182&gal_type&gal_nameWeddings/div> div idfeatured_rel3_182 styleposition:absolute; display:none>3/featured/Weddings/182/div> div idfeatured_meta3_182 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id3_182_1 styleposition:absolute; display:none>none/div> div idsong_id3_182_2 styleposition:absolute; display:none>none/div> div idsong_id3_182_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_190 styleposition:absolute; display:none>Christmas/Holiday/div> div idfeatured_url8_190 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id190&gal_type&gal_nameChristmas%2FHoliday/div> div idfeatured_rel8_190 styleposition:absolute; display:none>8/featured/Christmas_Holiday/190/div> div idfeatured_meta8_190 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_190_1 styleposition:absolute; display:none>none/div> div idsong_id8_190_2 styleposition:absolute; display:none>none/div> div idsong_id8_190_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_189 styleposition:absolute; display:none>Easter/div> div idfeatured_url8_189 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id189&gal_type&gal_nameEaster/div> div idfeatured_rel8_189 styleposition:absolute; display:none>8/featured/Easter/189/div> div idfeatured_meta8_189 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_189_1 styleposition:absolute; display:none>none/div> div idsong_id8_189_2 styleposition:absolute; display:none>none/div> div idsong_id8_189_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_193 styleposition:absolute; display:none>Valentine's Day/div> div idfeatured_url8_193 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id193&gal_type&gal_nameValentine%26%23039%3Bs+Day/div> div idfeatured_rel8_193 styleposition:absolute; display:none>8/featured/Valentine__039;s_Day/193/div> div idfeatured_meta8_193 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_193_1 styleposition:absolute; display:none>none/div> div idsong_id8_193_2 styleposition:absolute; display:none>none/div> div idsong_id8_193_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_188 styleposition:absolute; display:none>Mommy & Me/div> div idfeatured_url8_188 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id188&gal_type&gal_nameMommy+%26amp%3B+Me/div> div idfeatured_rel8_188 styleposition:absolute; display:none>8/featured/Mommy__amp;_Me/188/div> div idfeatured_meta8_188 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_188_1 styleposition:absolute; display:none>none/div> div idsong_id8_188_2 styleposition:absolute; display:none>none/div> div idsong_id8_188_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_195 styleposition:absolute; display:none>Daddy & Me/div> div idfeatured_url8_195 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id195&gal_type&gal_nameDaddy+%26amp%3B+Me/div> div idfeatured_rel8_195 styleposition:absolute; display:none>8/featured/Daddy__amp;_Me/195/div> div idfeatured_meta8_195 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_195_1 styleposition:absolute; display:none>none/div> div idsong_id8_195_2 styleposition:absolute; display:none>none/div> div idsong_id8_195_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_187 styleposition:absolute; display:none>Fairy Princess/div> div idfeatured_url8_187 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id187&gal_type&gal_nameFairy+Princess/div> div idfeatured_rel8_187 styleposition:absolute; display:none>8/featured/Fairy_Princess/187/div> div idfeatured_meta8_187 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_187_1 styleposition:absolute; display:none>none/div> div idsong_id8_187_2 styleposition:absolute; display:none>none/div> div idsong_id8_187_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_192 styleposition:absolute; display:none>Lemonade/Watermelon Sessions/div> div idfeatured_url8_192 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id192&gal_type&gal_nameLemonade%2FWatermelon+Sessions/div> div idfeatured_rel8_192 styleposition:absolute; display:none>8/featured/Lemonade_Watermelon_Sessions/192/div> div idfeatured_meta8_192 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_192_1 styleposition:absolute; display:none>none/div> div idsong_id8_192_2 styleposition:absolute; display:none>none/div> div idsong_id8_192_3 styleposition:absolute; display:none>none/div> div idfeatured_name8_194 styleposition:absolute; display:none>Fun with Paint/div> div idfeatured_url8_194 styleposition:absolute; display:none>blu_front/ANJA/blu_source/gallery.php?curr_page1&sec_id394&gal_id194&gal_type&gal_nameFun+with+Paint/div> div idfeatured_rel8_194 styleposition:absolute; display:none>8/featured/Fun_with_Paint/194/div> div idfeatured_meta8_194 styleposition:absolute; display:none>Danielle Eileen Photography/div> !-- SET MUSIC --> div idsong_id8_194_1 styleposition:absolute; display:none>none/div> div idsong_id8_194_2 styleposition:absolute; display:none>none/div> div idsong_id8_194_3 styleposition:absolute; display:none>none/div> !-- END DISPLAY FEATURED GALLERIES INFO -->!-- DISPLAY VIDEO GALLERIES INFO -->!-- END DISPLAY VIDEO GALLERIES INFO -->div idspinner styleposition:absolute; visibility:hidden>/div>!-- FACEBOOK LIKE WINDOW -->div idfb_div styleposition:absolute; display:none; background-color:#;z-index:1014> div idfb_close_btn classfb_close_btn onclickcloseLikeBox()>x /div> /div>!--div idscroll_msg classscroll_msg>scroll down for more/div>-->div idedit_pricing_bg_div styledisplay:none; position:fixed; z-index:1100000; background-color:#000000; cursor:pointer; onclickbluCartHideUpdate()>/div>div idedit_pricing_div styleposition:fixed; visibility:hidden; display:none; background-color:#ffffff; border:1px solid #; padding:0px; z-index:1100001; width:px;> div classblu_container> div idsignin_close_btn classimg_close_btn stylefloat:right; padding-top:5px; padding-right:12px; color:#666666 onclickbluCartHideUpdate();>×/div> /div> div idedit_pricing_holder stylecolor:#000000; padding:10px>/div>/div>!-- WATERMARK -->!-- BACK BTN -->div idback_btn classslideshow_btn styleposition:absolute;>back to galleries/div>script>$(#back_btn).click(function() { $.address.path(active_btn + /proof_preview/); });/script>!-- END BACK BTN -->!-- SLIDESHOW BTN -->div idslideshow_btn classslideshow_btn styleposition:fixed; >STOP SLIDESHOW/div>script> $(#slideshow_btn).click(function() { toggle_slideshow(); });/script>!-- END SLIDESHOW BTN -->div idcheck_div styleposition:absolute; z-index:5000; border: 0px solid;>/div>!-- CONTACT SECTION -->div idpopup_sec_div styleposition:absolute; display:none>/div> !-- back to top button -->script> $(#back_to_top).data(opened, false); $(#back_to_top).click(function(){ $(this).fadeOut(); window.scrollTo(0, 0); });/script> !-- END MUSIC PLAYER --> !-- SOCIAL LINK BTNS --> div idsocial_buttons styleposition:absolute; display:none; visibility:hidden; z-index:150001; background:none; padding-left:5px; padding-right:5px> !--span classsocial_btn>--> !-- a hrefhttp://www.facebook.com/danielleeileenphotography target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn1 srcblu_front/ANJA/v1site_images/icons/icon-facebook-20.png onmouseoverdisplaySocialPopup(1) onmouseouthideSocialPopup(1) onclickgoToSocialLink(http://www.facebook.com/danielleeileenphotography) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn1).data(w, 22); $(#social_btn1).data(h, 22); /script> div idsocial_popup1 classsocial_msg stylez-index:1018>/div> !--span classsocial_btn>--> !-- a hrefhttp://pinterest.com/dephotography09 target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn2 srcblu_front/ANJA/v1site_images/icons/icon-pinterest-20.png onmouseoverdisplaySocialPopup(2) onmouseouthideSocialPopup(2) onclickgoToSocialLink(http://pinterest.com/dephotography09) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn2).data(w, 22); $(#social_btn2).data(h, 22); /script> div idsocial_popup2 classsocial_msg stylez-index:1018>/div> !--span classsocial_btn>--> !-- a hrefhttp://instagram.com/danielleeileenphotography target_blank classsocial_btn_a> --> div style background:none; float:left; margin-left:7px; height:22px; width:22px; border:0px solid> img height22 idsocial_btn3 srcblu_front/ANJA/v1site_images/icons/icon-instagram-20.png onmouseoverdisplaySocialPopup(3) onmouseouthideSocialPopup(3) onclickgoToSocialLink(http://instagram.com/danielleeileenphotography) stylecursor:pointer; > /div> !-- /a> --> !-- /span> --> script> $(#social_btn3).data(w, 22); $(#social_btn3).data(h, 22); /script> div idsocial_popup3 classsocial_msg stylez-index:1018>/div> /div> script>function displaySocialPopup(num){ if ($(#social_popup + num).html() ! ){ var top $(#social_btn + num).position().top - $(#social_popup + num).height() - 5; var left $(#social_btn + num).position().left - $(#social_popup + num).width() + $(#social_btn + num).width(); $(divid*social_popup).each(function(){ $(this).css({ display: none }) }); $(#social_popup + num).css({ top: top, left: left, display: none, visibility: visible }); //$(#social_popup + num).fadeIn(); /* setTimeout(function(){ hideSocialPopup(num); }, 2000);*/ }}function hideSocialPopup(num){ if ($(#social_popup + num).html() ! ){ $(#social_popup + num).css({ display: none }); }}function goToSocialLink(url){ window.open(url, _blank);}function positionSocialLinks(){ var left 0; var top 0; vars.social_h 0; for (var i1; i3; i++){ if (!vars.mobile){ $(#social_btn + i).css({ left:left }); } //alert($(#social_btn + i).data(w)); left + $(#social_btn + i).data(w) + 7; //top + $(#social_btn + i).data(h) + 7; if ($(#social_btn + i).data(h) > vars.social_h){ vars.social_h $(#social_btn + i).data(h); } //vars.social_h + $(#social_btn + i).data(h) + 7; } //debug($(#social_lbl).outerHeight()); vars.social_h + $(#social_lbl).outerHeight() + 5; vars.social_w left - 7; //debug(vars.social_w); }positionSocialLinks();/script> !-- END SOCIAL LINK BTNS -->!-- CONTACT SECTION -->div idpopup_sec_div styleposition:absolute; z-index:6500>/div>!-- LOADER -->div idloader_div styledisplay:none>/div>!-- SHOPPING CART -->!-- LOGO -->div idlogo_div classlogo styleposition:absolute; visibility:hidden; text-align:; padding-bottom:0px; border:0px solid; z-index:150002;> img idlogo_div_img src height67 styleborder:0px solid/> link relimage_src typeimage/jpeg hrefblu_front/ANJA/v1site_images/logos/grayLogo.png />/div>script> $(#logo_div).data(loaded, false); $(#logo_div_img).attr(src, blu_front/ANJA/v1site_images/logos/grayLogo.png); $(#logo_div_img).load(function(){ $(#logo_div).data(loaded, true); }); $(#logo_div).data(w, 200); $(#logo_div).data(h, 67); /script>!-- LOAD FONTS -->script typetext/javascript> $(#logo_div).data(opened, false); /script> !-- END LOAD FONTS -->!-- END LOGO -->div idpopup_login_bg_div styledisplay:none; position:absolute; z-index:150202; background-color:#000000; cursor:pointer; onclickbluShowHideMasterLogin()>/div> div idpopup_login_form_div styleposition:fixed; display:none; background-color:#ffffff; border:1px solid #000000; ; z-index:150203; padding:0px> div classblu_container stylepadding-top:10px; padding-right:10px> div idsignin_close_btn classimg_close_btn stylefloat:right; padding-top:0px; padding-right:10px; color:#000000 onclickbluShowHideMasterLogin();>×/div> /div> div stylepadding-left:50px; padding-right:50px; padding-bottom:50px;> div idproof_login_logo_div styletext-align:center; width:100%; padding-left:0px;> img idlogin_logo_div_img srcblu_front/ANJA/v1site_images/logos/grayLogo.png?var0.32363600 1736159550 height67 styleborder:0px solid; max-width:250px;/> /div> div idproof_hline1 styleheight:2px; border-bottom:1px solid #c6c6c6; margin-top:10px; width:80%; margin:0 auto;>/div> div classtitle stylewidth:100%; padding:0px; margin:0px; text-align:center; border:0px solid; position:relative; padding-top:20px>/div> div idproof_login_content_div> table cellpadding0 cellspacing0 > tr>td>br />/td>/tr> tr> td classcontact_field_label> /td> /tr> tr>td>br />/td>/tr> tr> td classcontact_field_label> Enter the gallery password: /td> /tr> tr>td>br />/td>/tr> tr> td valigntop alignleft > form idpopup_proof_login onsubmitreturn false;> table cellpadding0 cellspacing0 border0> tr> td >input classcontact_field_popup typepassword idpopup_proof_pass namepass size37 value>/td> /tr> tr> td alignright colspan2> input typehidden namesec_id value> input typehidden nameactive_btn idactive_btn value> input typehidden namepass_lbl idpass_lbl valueenter password> input stylepadding-top:2px; idpopup_submit_form_btn typebutton namesubmit valueSUBMIT classlogin_submit onclickprocess_proof_login(blu_front/ANJA//blu_source/proof_login_profile.php, true)> /td> /tr> tr> td colspan2 idpopup_login_error_msg classerror_msg>/td> /tr> /table> /form> script> $(#active_btn).val(active_btn); $(#popup_proof_login).bind(keypress, function(e){ if ( e.keyCode 13 ) { // alert(ENTER); process_proof_login(blu_front/ANJA//blu_source/proof_login_profile.php, true); //$( this ).find( inputtypesubmit:first ).click(); } }); /script> /td> /tr> tr>td idproof_hline2 styleheight:2px; padding-top:10px>/td>/tr> tr>td>br />/td>/tr> tr>td>br />/td>/tr> tr> td classcontact_field_label width250> span stylecolor:#9ba019>NOTE:/span> To view your gallery, please enter the password given to you in the field below. /td> /tr> /table> /div> /div> /div>/div>script languagejavascript typetext/javascript>$(#popup_login_form_div).data(opened, false);/script>!-- END PROOFING LOGIN FORM -->!-- START CONTACT POPUP -->div idpopup_contact_bg_div styledisplay:none; position:fixed; z-index:150204; background-color:#000000; cursor:pointer; onclickbluShowHideContact()>/div> div idpopup_contact_div styleposition:fixed; display:none; background-color:#ffffff; border:1px solid #000000; z-index:150205;> div classblu_container stylepadding-top:10px; padding-right:10px> div idcontact_close_btn classimg_close_btn stylefloat:right; padding-top:5px; padding-right:12px; color:#666666 onclickbluShowHideContact();>×/div> /div> div stylepadding:50;> div idcontact_logo_div styletext-align:center; width:100%;> img idcontact_logo_div_img srcblu_front/ANJA/v1site_images/logos/grayLogo.png?var0.32366000 1736159550 height67 styleborder:0px solid; max-width:250px;/> /div> div idcontact_hline1 styleheight:2px; border-bottom:1px solid #c6c6c6; margin-top:10px; width:80%; margin:0 auto;>/div> div idcontact_content_div> /div> /div> /div>/div>script languagejavascript typetext/javascript>$(#popup_contact_div).data(opened, false);$(#popup_contact_div).data(loaded, false);/script>!-- END CONTACT POPUP -->script typetext/javascript src//assets.pinterest.com/js/pinit.js>/script>script typetext/javascript> // //SET MENU var btn_color; for (var i1; ibtn_count; i++){ menu_arrayi.btn_w $(#btn_div + i).width() + menu_btn_hpad * 2; menu_arrayi.btn_h $(#btn_div + i).height(); $(#btn_divider + i).data(opened, false); $(#btn_div + i).data(opened, false); $(#btn + i).data(btn_no, i); $(#btn + i).data(enabled, true); $(#btn + i).data(w, 0); $(#btn + i).data(h, 0); //alert($(#btn + i).data(w) + + $(#btn + i).data(w_scaled)); if (menu_arrayi.menu_group 2){ btn_color #; } else { btn_color #000000; } $(#btn + i).data(color, btn_color); // alert(menu_arrayi.menu_group); if (!vars.ipad && !vars.mobile){ $(#btn + i).mouseover(function() { var btn_no $(this).data(btn_no); if (btn_no ! active_btn){ $(this).css({ color: # + vars.curr_color }); } }); $(#btn + i).mouseout(function() { var btn_no $(this).data(btn_no); //if (btn_no ! active_btn && menu_arraybtn_no.subtype ! drop-down){ if (btn_no ! active_btn){ $(this).css({ color: $(this).data(color) }); } //} }); } $(#btn + i).click(function() { var btn_no $(this).data(btn_no); //$(#menu_btn_over).fadeTo(0, 0); //$(#btn + i).width($(#btn + i).data(w) + 20); //$(.menu_btn).css(font-size, 100%); //$(#btn + btn_no).animate(font-size, 140%, ); /*$(#menu_btn_over).css({ top: $(#btn_div + btn_no).position().top + $(#btn_div + btn_no).height(), left: $(#btn_div + btn_no).position().left + 16, display: none, visibility: visible }); $(#menu_btn_over).fadeIn();*/ if ($(this).data(enabled) && menu_arraybtn_no.subtype ! drop-down){ //close_cart(); if ($(this).data(enabled)){ if (vars.mobile){ $(#menu_main_btn_div).data(opened, false); } if (menu_arraybtn_no.type ! external link /* && menu_arraybtn_no.type ! proof && menu_arraybtn_no.type ! contact*/){ active_btn btn_no; position_menu_btn_over(); //position_menu(click); //reset btns over state and submenus $(#popup_sec_div).empty(); $(#popup_login_form_div).fadeOut(0); $(#popup_login_bg_div).fadeOut(0); $(#popup_login_form_div).data(opened, false); $(#popup_contact_div).fadeOut(0); $(#contact_content_div).empty(); $(#popup_contact_bg_div).fadeOut(0); $(#popup_contact_div).data(opened, false); $(#signin_bg_div).fadeOut(0); $(#signin_div).fadeOut(0); for (var k1; kbtn_count; k++){ if (k ! active_btn){ $(#btn + k).css({ color: $(#btn + k).data(color) }); /*if ($(#btn_bullet + k).length){ $(#btn_bullet + k).css({ //display: none, visibility: hidden }); }*/ //close subbuttons if (menu_arrayk.subtype drop-down){ $(spanid*subbtn + k + ).css({ //color: #000000 }); } else { vars.sec_id 0; } } else { $(#btn + k).css({ //color: # + vars.curr_color }); } } //close_submenu(); if (menu_arraybtn_no.type proof && false){ //alert(vars.proof_logged + + vars.profile_logged + + vars.profile_gal_count); if(vars.proof_logged || (vars.profile_logged && vars.profile_gal_count > 0)) { if (vars.profile_logged && vars.profile_gal_count > 0){ vars.proof_id ; } process_proof_login(blu_front/ANJA/blu_source/proof_login_profile.php); } else { //bluShowHideMasterLogin(); $.address.path(menu_arrayactive_btn.rel); } } else { $.address.path(menu_arrayactive_btn.rel); } } else if (menu_arraybtn_no.type proof){ if (vars.mobile){ close_menu(); if ($(#popup_contact_div).data(opened)){ bluShowHideContact(); } } if (vars.proof_logged || (vars.profile_logged && vars.profile_gal_count > 0)) { if (vars.profile_logged && vars.profile_gal_count > 0){ vars.proof_id ; } process_proof_login(blu_front/ANJA/blu_source/proof_login_profile.php); } else { $.address.path(menu_arrayactive_btn.rel); //bluShowHideMasterLogin(); } } else if (menu_arraybtn_no.type contact && 1 && false){ if (vars.mobile){ close_menu(); } bluShowHideContact(); } else { //open external link if (menu_arraybtn_no.link_target _parent){ window.location.href menu_arraybtn_no.url_link; } else { window.open(menu_arraybtn_no.url_link); } } //end if external } } /*$(#btn + btn_no).animate({ font-size: 150% },fast, easeOutQuart ); */ }); //end on click } function open_site() { if(vars.site_opened false) { if ($(#logo_div).data(loaded) && !$(#logo_div).data(opened) && (vars.logo_xpos > 0 || vars.mobile) || true){ $(#logo_div).data(opened, true); $(#logo_div).css({ display: none, visibility: visible }); $(#logo_div).fadeIn(vars.entry_animation_speed); if (!$(#social_buttons).data(opened)){ $(#social_buttons).css({ display: none, visibility: visible }); $(#social_buttons).data(opened, true); $(#social_buttons).fadeIn(vars.entry_animation_speed); } if (!$(#shop_buttons).data(opened)){ $(#shop_buttons).css({ top: vars.site_icons_ypos - 2, display: none, visibility: visible }); $(#shop_buttons).data(opened, true); $(#shop_buttons).fadeIn(vars.entry_animation_speed, function(){ bluSetLoginBtn(); }); } if ($(#footer_div).length){ if (!$(#footer_div).data(opened)){ //$(#footer_div).height(win_h); $(#footer_div).data(opened, true); $(#footer_div).css({ display: none, visibility: visible }); $(#footer_div).fadeIn(vars.entry_animation_speed); /*$(#footer_div).animate({ height: vpadding + 180 },slow, easeOutQuart);*/ } } if (!$(#menu_bg_div).data(opened)){ //if (!vars.mobile){ $(#menu_bg_div).css({ display: none, visibility: visible }); $(#menu_bg_div).data(opened, true); $(#menu_bg_div).fadeIn(vars.entry_animation_speed); //} } } vars.site_opened true; } } function bluOpenCart(){ if (!vars.profile_logged){ bluShowSignIn(); } else { $(#popup_sec_div).empty(); $(#watermark).fadeTo(0, 0); for (var k1; kbtn_count; k++){ $(#btn + k).css({ color: $(#btn + k).data(color) }); vars.sec_id 0; active_btn cart; $.address.path(cart); } } } // //SET SUBMENUS for (var i1; ibtn_count; i++){ if ($(#submenu + i).length){ $(#submenu + i).data(first_id, $(#subbtn + i + _first).html()); if ($(#submenu_table + i).width() $(#btn + i).width()){ $(#submenu_table + i).width($(#btn + i).width() - menu_btn_hpad); } } } $(spanid*subbtn).mouseover(function() { var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; //cancel_close_submenu(); $(this).animate({ color: # + vars.curr_color }, fast); }); $(spanid*subbtn).mouseout(function() { var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; //delay_close_submenu(this_id); if (vars.sec_id ! this_sec_id){ $(this).animate({ color: #ffffff }, fast); } }); $(spanid*subbtn).click(function() { //reset other submenu btns var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; active_btn this_id; vars.sec_id this_sec_id; $(#menu_btn_over).fadeTo(0, 0); $(spanid*subbtn).each(function(){ var this_id_array $(this).attr(id).split(_); var this_id this_id_array0.replace(/^\d.,+/,); var this_sec_id this_id_array1; if (vars.sec_id ! this_sec_id){ $(this).css({ //backgroundColor: #ffffff, color: #ffffff }); } }); //set over graphic //$(#img_menu_btn_over).width($(#btn_div + active_btn).width() + 10 * 2); // $(#img_menu_btn_over).height($(#btn_div + active_btn).height() + 5 * 2); /*$(#menu_btn_over).css({ top: $(#btn_div + active_btn).position().top + $(#btn_div + active_btn).height(), left: $(#btn_div + active_btn).position().left, display: none, visibility: visible }); $(#menu_btn_over).fadeIn(); */ position_menu_btn_over(); position_menu(click); //reset btns over state and submenus for (var k1; kbtn_count; k++){ if (k ! active_btn){ //$(#btn_bg + k).fadeOut(); $(#btn_div + k).find(a).animate({ //backgroundColor: #ffffff, color: #000000//$(#btn_div + k).data(color) }, 200); $(#btn_div + k).find(span).animate({ //backgroundColor: #ffffff, color: #000000//$(#btn_div + k).data(color) }, 200); //close subbuttons if (menu_arrayk.subtype drop-down){ //$(divid*subbtn_div + k + ).fadeOut(); $(spanid*subbtn + k + ).css({ //backgroundColor: # + vars.curr_color, color: #ffffff }); } else { vars.sec_id 0; } } } //delay_close_submenu(this_id); var rel escape($(#invis_rel + active_btn + _ + this_sec_id).html()); $.address.path(rel); if (vars.ipad || vars.mobile){ $(ulid*submenu + active_btn + ).fadeOut(); } }); function soundPlayNext(){ sound_vars.song_no++; if (sound_vars.song_no > sound_vars.jukebox_count){ if (sound_vars.loop yes){ sound_vars.song_no 1; } else { sound_vars.song_no 0; } } soundManager.createSound({ id:song + sound_vars.song_no, url: blu_front/ANJA/music/sound + jukebox_arraysound_vars.song_no.id + .mp3, onfinish: soundPlayNext }); soundManager.play(song + sound_vars.song_no); } function soundGalPlayNext(){ soundManager.destroySound(song + sound_vars.song_no); sound_vars.song_no++; if (sound_vars.song_no > 3){ sound_vars.song_no 1; } soundManager.createSound({ id:song + sound_vars.song_no, url: blu_front/ANJA/music/sound + $(#song_id + active_btn + _ + vars.sec_id + _ + sound_vars.song_no).html() + .mp3, onfinish: soundGalPlayNext }); soundManager.play(song + sound_vars.song_no); } function resize_image(type){ // //set image 1 size vars.img1_w image_arrayvars.curr_img.img1_w; vars.img1_h image_arrayvars.curr_img.img_h; vars.img1_r vars.img1_w/vars.img1_h; if (vars.img1_w > vars.max_img_w){ vars.img1_w vars.max_img_w; vars.img1_h vars.img1_w/vars.img1_r; } if (active_sec ! home){ if (vars.img1_h > content_h){ vars.img1_h content_h; vars.img1_w vars.img1_h*vars.img1_r; } } else { if (vars.img1_h > content_h){ vars.img1_h content_h; vars.img1_w vars.img1_h*vars.img1_r; } } //alert(vars.img1_h + + vars.max_img_h); vars.total_w vars.img1_w; //$(#content).width(vars.text_content_w - vars.total_w - content_padding - 100); if (active_sec home){ //position_home_parag(); } vars.home_content_padding vars.text_content_w - vars.total_w - content_padding - vars.home_content_w; //alert(vars.text_content_w + + vars.total_w + + vars.home_content_w); $(#content).css({ padding-right:vars.home_content_padding }); // //position image 1 if (type new){ $(#img1_div + vars.curr_img).css({ visibility: hidden, display: }); } $(#img1_div + vars.curr_img).width(vars.total_w - 30); $(#img1_ + vars.curr_img).height(vars.img1_h); $(#img1_ + vars.curr_img).width(vars.img1_w); if ($(#dummy1_div + vars.curr_img).length){ $(#dummy1_div + vars.curr_img).width(vars.total_w); $(#dummy1_div + vars.curr_img).height(vars.img1_h); } if ($(#watermark + vars.curr_img).length){ $(#watermark + vars.curr_img).css({ marginTop: ($(#dummy1_div + vars.curr_img).height() - $(#watermark + vars.curr_img).height())/2 }); } if ($(#img_border + vars.curr_img).length){ $(#img_border + vars.curr_img).width(vars.total_w - 8 * 2 - 2); $(#img_border + vars.curr_img).height(vars.img1_h - 8 * 2 - 2); } if (type new || type resize){ if (active_sec home){// && vars.home_display slide){ //alert(image_arrayvars.curr_img.tag_pos); if (image_arrayvars.curr_img.img_has_text && !vars.mobile){ if (image_arrayvars.curr_img.tag_pos left){ vars.goal_x (content_w - vars.total_w - img_fr_w*2); } else { vars.goal_x 0; } } else { vars.goal_x (vars.text_content_w - vars.total_w - img_fr_w*2)/2; } var img_x vars.goal_x; } else if (vars.gallery_view slideshow && active_sec ! home){ //var img_x (content_w - vars.total_w - img_fr_w*2 + 0)/2; var img_x content_w - vars.max_img_w + (vars.max_img_w - vars.total_w - img_fr_w*2)/2; //alert(vars.max_img_w + + vars.total_w); vars.goal_x img_x; } else { var img_x (content_w - vars.total_w - img_fr_w*2)/2; vars.goal_x img_x; } var img1_x img_x; if (vars.mobile){ var img_y 0; if (active_sec ! home){ img_y + 40 + content_padding * 2; } } else { var img_y 0;//(content_h - vars.img1_h)/2; if (active_sec ! home){ img_y + + content_padding; } } if (type new){ $(#img1_div + vars.curr_img).css({ display: none, visibility: visible }); $(#img_border + vars.curr_img).css({ display: none, visibility: visible }); } $(#img1_div + vars.curr_img).css({ top: img_y, left: img_x }); $(#img_border + vars.curr_img).css({ top: img_y + 8, left: img_x + 8 }); } //position image text btn if (type ! blog){ if (vars.mobile){ var btn_x img1_x + vars.total_w + img_fr_w*2 -30 - 10; var btn_y img_y + vars.max_img_h + 25;//content_padding + 30;//img_y + vars.img1_h - 30; } else { var btn_x img1_x - 30;// + vars.total_w + img_fr_w*2;// -30 - 50; var btn_y img_y + vars.img1_h - 30;//content_padding + 30;//img_y + vars.img1_h - 30; } //position favorites btn if ($(#add_to_fav_btn + vars.curr_img).length){ //btn_x - $(#add_to_fav_btn + vars.curr_img).width(); $(#add_to_fav_btn + vars.curr_img).css({ top: btn_y, left: btn_x + 5 }); } if ($(#add_to_fav_btn + vars.curr_img).length){ //btn_y + $(#add_to_fav_btn + vars.curr_img).height();//; } //position delete fav btn if ($(#delete_fav_btn + vars.curr_img).length){ $(#delete_fav_btn + vars.curr_img).css({ top: btn_y, left: btn_x + 5 }); } if ($(#delete_fav_btn + vars.curr_img).length){ //btn_y + $(#delete_fav_btn + vars.curr_img).height();; } //position cart btn if ($(#img_cart_btn + vars.curr_img).length){ btn_y - $(#img_cart_btn + vars.curr_img).height(); $(#img_cart_btn + vars.curr_img).css({ top: btn_y, left: btn_x }); //btn_y + $(#img_cart_btn + vars.curr_img).height(); } //position info btn if ($(#img_text_btn + vars.curr_img).length){ if (vars.mobile){ btn_x - 30; btn_y - 5; } else { btn_y - 30; } $(#img_text_btn + vars.curr_img).css({ top: btn_y, left: btn_x }); } //position img close btn if (vars.gallery_view thumbs_only){ if (vars.mobile){ $(#img_close_btn + vars.curr_img).css({ top: img_y - content_padding, left: img1_x + vars.total_w - 25 }); } else { $(#img_close_btn + vars.curr_img).css({ top: content_padding * 2 + 30, left: img1_x + vars.total_w + img_fr_w * 2// - $(#img_close_btn + vars.curr_img).width() }); } } //position img info if (active_sec ! home){ //if (vars.mobile){ var max_text_w vars.total_w; //} else { //var max_text_w content_w - 20; //} //if ($(#img_text + vars.curr_img).width > max_text_w){ $(#img_text + vars.curr_img).width(max_text_w); //} var max_text_bg_w vars.total_w; var text_bg_w $(#img_text + vars.curr_img).width() + img_fr_w * 2; /*if ($(#add_to_fav2_btn + vars.curr_img).length){ text_bg_w + 30 + 10; }*/ $(#img_text_bg + vars.curr_img).css({ vsibility: hidden }); $(#img_text_bg + vars.curr_img).width(text_bg_w); $(#img_text_bg + vars.curr_img).height($(#img_text + vars.curr_img).height() + 20); if ($(#img_text_bg + vars.curr_img).height() 30){ //$(#img_text_bg + vars.curr_img).height(30) ; } var text_y img_y + img_fr_w * 2 + vars.img1_h - $(#img_text_bg + vars.curr_img).height(); if (!vars.mobile){ var text_x img1_x + 30;// + vars.total_w - $(#img_text + vars.curr_img).width() + 10; var text_bg_x text_x - 30; } else { var text_x img1_x + 20; var text_bg_x text_x - 20; } /*if ($(#add_to_fav2_btn + vars.curr_img).length){ text_bg_x - 30; }*/ $(#img_text_bg + vars.curr_img).css({ top: text_y, left: text_bg_x }); //var text_left text_x; //if (active_sec home){ //text_left - 15; //} $(#img_text + vars.curr_img).css({ top: text_y + 10, left: text_x }); /*if ($(#img_text_shadow_img + vars.curr_img).length){ $(#img_text_shadow_img + vars.curr_img).width(text_bg_w + 10); $(#img_text_shadow_img + vars.curr_img).height($(#img_text_bg + vars.curr_img).height() + 20); } $(#img_text_shadow_img + vars.curr_img).css({ top: text_y - 15, left: text_bg_x - 5 ); */ if ($(#img_text_border + vars.curr_img).length){ $(#img_text_border + vars.curr_img).width($(#img_text + vars.curr_img).width()); } $(#img_text_border + vars.curr_img).css({ top: text_y + $(#img_text + vars.curr_img).height() - 10, left: text_x }); var close_btn_ypos text_y;// + ($(#img_text + vars.curr_img).height() - 28)/2; var close_btn_xpos text_bg_x; $(#img_text_close_btn + vars.curr_img).css({ top: close_btn_ypos, left: close_btn_xpos }); } else { // if home var tag_top 0; var tag_left 0; var tag_border_left 0; var tag_padding 60; if (!vars.mobile){ $(#img_text + vars.curr_img).width(content_w - vars.total_w - tag_padding * 2) $(#img_text_border + vars.curr_img).width(content_w - vars.total_w - 8 * 2 - 2); $(#img_text_border + vars.curr_img).height(content_h - 8 * 2 - 2) tag_top img_y + (vars.img1_h - $(#img_text + vars.curr_img).height())/2; var tag_border_top img_y + 8; if (image_arrayvars.curr_img.tag_pos left){ tag_left tag_padding; tag_border_left 8; } else if (image_arrayvars.curr_img.tag_pos right){ tag_left vars.total_w + 8 + tag_padding; tag_border_left img1_x + vars.total_w + 8; } } else { $(#img_text + vars.curr_img).width(content_w - 20) $(#img_text_border + vars.curr_img).width(content_w - 8 * 2 - 2); $(#img_text_border + vars.curr_img).height($(#img_text + vars.curr_img).height()) tag_top img_y + vars.img1_h + 10; var tag_border_top tag_top + 8; tag_left 10; tag_border_left 8; } $(#img_text + vars.curr_img).css({ top: tag_top, left: tag_left }); $(#img_text_border + vars.curr_img).css({ top: tag_border_top, left: tag_border_left }); } if ($(#pinterest_div + vars.curr_img).length){ $(#pinterest_div + vars.curr_img).css({ top: img_y + vars.img1_h - $(#pinterest_div + vars.curr_img).height() - 5, left: img1_x - $(#pinterest_div + vars.curr_img).width() - 3 }); } } //position_footer(); } function set_image(){ //debug(set_image + vars.images_loaded); if (vars.images_loaded 1){ //alert(vars.images_loaded + + vars.images_per_frame) clearInterval(set_image_int); set_image_int -1; //fade out prev image if (vars.old_img > 0){ $(#img1_div + vars.old_img).fadeOut(function(){ $(#img1_div + vars.old_img).empty(); $(#img1_div + vars.old_img).css({ display: none }) ; }); $(#img_border + vars.old_img).fadeOut(); if ($(#img_text_border + vars.old_img).length){ $(#img_text_border + vars.old_img).fadeOut(); } $(#img_text_btn + vars.old_img).fadeOut(); $(#img_text_btn_bg + vars.old_img).fadeOut(); if ($(#add_to_fav_btn + vars.old_img).length){ $(#add_to_fav_btn + vars.old_img).fadeOut(); } if ($(#add_to_fav_bg + vars.old_img).length){ $(#add_to_fav_bg + vars.old_img).fadeOut(); } if ($(#img_cart_btn + vars.old_img).length){ $(#img_cart_btn + vars.old_img).fadeOut(); $(#img_cart_btn_bg + vars.old_img).fadeOut(); } if ($(#delete_fav_btn + vars.old_img).length){ $(#delete_fav_btn + vars.old_img).fadeOut(); $(#delete_fav_bg + vars.old_img).fadeOut(); } $(#img_text_close_btn + vars.old_img).fadeOut(); $(#img_text + vars.old_img).fadeOut(); $(#img_text_bg + vars.old_img).fadeOut(); if (vars.gallery_view thumbs_only){ $(#img_close_btn + vars.old_img).fadeOut(); } if ($(#pinterest_div + vars.old_img).length){ $(#pinterest_div + vars.old_img).fadeOut(); } } resize_image(new); //set color set_color(vars.curr_img); // //fade in new images if (active_sec home && vars.home_display slide){ $(#img1_div + vars.curr_img).css({ display: }); $(#img1_div + vars.curr_img).animate({ left: vars.goal_x },slow, easeOutQuart); } else { if (vars.gallery_view thumbs_only){ $(#thumbs_div).css({ display: none, visibility: visible }); //alert(test); //$(#thumbs_div).fadeOut(); } position_scroll_btns(); /*$(#prev_btn).css({ display: none, visibility: visible }); $(#next_btn).css({ display: none, visibility: visible }); $(#prev_btn).fadeIn(); $(#next_btn).fadeIn();*/ /*$(#thumb_over_div + vars.curr_img).css({ visibility: visible, backgroundColor: # + vars.curr_color })*/ if ($(#watermark + vars.curr_img).length){ $(#watermark + vars.curr_img).fadeTo(0, vars.water_opacity); } $(#img1_div + vars.curr_img).css({ display: none, visibility: visible }); $(#img1_div + vars.curr_img).delay(200).fadeIn(function(){ if ($(#img_border + vars.curr_img).length){ $(#img_border + vars.curr_img).fadeIn(); } if (vars.curr_img 1 && !vars.first_img_loaded){ vars.first_img_loaded true; if ($(#content).length){ position_home_parag(); $(#content).css({ display: none, visibility: visible }); $(#content).fadeIn(fast); if ($(#home_border_solid).length){ $(#home_border_solid).css({ display: none, visibility: visible }); $(#home_border_solid).fadeIn(fast); $(#home_border_dotted).css({ display: none, visibility: visible }); $(#home_border_dotted).fadeIn(fast); } } if (vars.gallery_view slideshow){ display_thumbnails(); } position_footer(); } if (active_sec home){ if (vars.featured_count > 0 && !vars.home_featured_loaded){ vars.home_featured_loaded true; //position_home_featured(); display_home_featured(1); } } if ($(#pinterest_div + vars.curr_img).length){ $(#pinterest_div + vars.curr_img).css({ visibility: visible }); $(#pinterest_div + vars.curr_img).fadeIn(); } }); //$(#img_shadow_div + vars.curr_img).delay(500).fadeIn(); } if ($(#img_text + vars.curr_img).length){ if (active_sec home){ /*$(#img_text_bg + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_bg + vars.curr_img).delay(700).fadeTo(fast, 1); */ $(#img_text + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text + vars.curr_img).delay(700).fadeIn(); /*$(#img_title + vars.curr_img).css({ display: none, visibility: visible }); $(#img_title + vars.curr_img).delay(700).fadeIn(); */ if (!vars.mobile){ $(#img_text_border + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_border + vars.curr_img).delay(700).fadeIn(); } } $(#img_text_btn + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_btn + vars.curr_img).fadeIn(); $(#img_text_btn_bg + vars.curr_img).css({ display: none, visibility: visible }); $(#img_text_btn_bg + vars.curr_img).fadeIn(); } if ($(#img_cart_btn + vars.curr_img).length){ //alert(test: fade ); $(#img_cart_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#img_cart_btn + vars.curr_img).fadeIn(); //$(#img_cart_btn_bg + vars.curr_img).fadeIn(); } if (vars.favorites){ if ($(#add_to_fav_btn + vars.curr_img).length){ $(#add_to_fav_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#add_to_fav_btn + vars.curr_img).fadeIn(); //$(#add_to_fav_bg + vars.curr_img).fadeIn(); } else if ($(#delete_fav_btn + vars.curr_img).length){ $(#delete_fav_btn + vars.curr_img).css({ visibility: visible, display: none }); $(#delete_fav_btn + vars.curr_img).fadeIn(); //$(#delete_fav_bg + vars.curr_img).fadeIn(); } } if (vars.gallery_view thumbs_only){ $(#img_close_btn + vars.curr_img).css({ visibility: visible }); $(#img_close_btn + vars.curr_img).fadeIn(); } for (var i1; i img_count; i++){ if (i ! vars.curr_img){ $(#img1_div + i).fadeOut(function(){ $(#img1_div + i).empty(); }); if ($(#img2_ + i).length){ $(#img2_div + i).fadeOut(function(){ $(#img2_div + i).empty(); }); } if ($(#img3_ + i).length){ $(#img3_div + i).fadeOut(function(){ $(#img3_div + i).empty(); }); } $(#img_text_btn + i).fadeOut(); $(#img_text_btn_bg + i).fadeOut(); $(#img_text_close_btn + i).fadeOut(); $(#img_text + i).fadeOut(); $(#img_text_bg + i).fadeOut(); if ($(#add_to_fav_btn + i).length){ $(#add_to_fav_btn + i).fadeOut(); $(#add_to_fav_bg + i).fadeOut(); } else if ($(#delete_fav_btn + i).length){ $(#delete_fav_btn + i).fadeOut(); $(#delete_fav_bg + i).fadeOut(); } if ($(#img_cart_btn + i).length){ $(#img_cart_btn + i).fadeOut(); $(#img_cart_btn_bg + i).fadeOut(); } } } if (active_sec home){ slide_int setInterval(slide_images(), home_speed); } else { //debug(slide_playing + + vars.gallery_view); if (slide_playing && vars.gallery_view slideshow){ if (active_sec galleries || active_sec fav_gallery){ slide_int setInterval(slide_images(), gallery_speed); } else { slide_int setInterval(slide_images(), proofing_speed); } } } //if (vars.thumbs_only){ //$(#thumbs_div).fadeOut(); //} $(#spinner).fadeOut(); } } function set_color(img_no){ if (active_sec fav_gallery){ var clr vars.curr_color; } else { var clr ; } //alert(vars.sec_color); //check if image color defined if (img_no > 0 && image_arrayimg_no){ if (image_arrayimg_no.color ! ){ clr image_arrayimg_no.color; } } //check if sub section color defined if (clr && vars.sec_color ! ){ clr vars.sec_color; } //check if section color defined if (active_btn > 0){ if (clr && menu_arrayactive_btn.color ! ){ clr menu_arrayactive_btn.color; } } //set to default accent color if (clr ){ clr 9ba019; } clr 9ba019; vars.curr_color clr; //$(#btn_div + active_btn).find(span).animate({ //backgroundColor: # + vars.curr_color //}, 200); if ($(#cart_btn_img).length && false){ $(#cart_btn_img).css({ borderLeftColor: # + vars.curr_color }); } $(#btn_div + active_btn).find(span).css({ color: # + vars.curr_color }); if (vars.mobile){ //alert(active_btn); $(#btn_div + active_btn).find(div).css({ color: # + vars.curr_color }); } $(#menu_btn_over).css({ //borderBottom: 1px solid # + vars.curr_color }); if(false) { $(#menu_bg_div).css({ backgroundColor: # + vars.curr_color }); } /*$(#doc_bg).animate({ backgroundColor: # + vars.curr_color },fast, easeOutQuart, function(){ //alert(test); //set_bg_color(); });*/ //document.body.style.backgroundColor # + vars.curr_color; if ($(.btn_bullet).length && false){ //alert(active_btn + + vars.curr_color); $(.btn_bullet).css({ backgroundColor: # + vars.curr_color }); } if ($(#content).length && active_sec home){ //alert(active_btn + + vars.curr_color); $(#content).css({ backgroundColor: # + vars.curr_color }); } $(divid*btn_divider).each(function() { $(this).css({ //color: # + vars.curr_color }); }); //if ($(#logo2).length){ // $(#logo2).css({ // color: # + vars.curr_color // }); //} if ($(#menu_btn_line).length){ $(#menu_btn_line).css({ color: # + vars.curr_color }); } if ($(#main_social_btn).length){ $(#main_social_btn).css({ color: # + vars.curr_color }); } if ($(#error_msg).length){ $(#error_msg).css({ color: # + vars.curr_color }); } if ($(.jspDrag).length){ if(active_sec text || active_sec featured || active_sec collage) { $(.jspTrack).css({ visibility: hidden, backgroundColor: # }); $(.jspDrag).css({ visibility: hidden, backgroundColor: # }); } else { $(.jspDrag).css({ visibility: visible, backgroundColor: # + vars.curr_color }); } } //set contact btn /*if ($(#submit_form_btn).length){ $(#submit_form_btn).css({ backgroundColor: # + vars.curr_color }); }*/ //set active submenu btn /*for (k1; kbtn_count; k++){ $(tdid*subbtn + k + ).css({ //backgroundColor: # + vars.curr_color, //color: #000000 }); }*/ //set active submenu btn if ($(#subbtn + active_btn + _ + vars.sec_id).length){ $(#subbtn + active_btn + _ + vars.sec_id).css({ //backgroundColor: # + vars.curr_color, //color: # + vars.curr_color }); } //set active thumbnail if (vars.curr_img > 0 && active_sec ! home){ if ($(#thumb + vars.curr_img).length){ rollover_thumb(vars.curr_img); } } //set music btns if (sound_vars.sound_status playing){ $(#sound_play_btn).css({ color: # + vars.curr_color }); $(#sound_pause_btn).css({ color: #000000 }); } else { $(#sound_pause_btn).css({ color: # + vars.curr_color }); $(#sound_play_btn).css({ color: #000000 }); } /* if ($(#down_btn).length){ $(#down_btn).css({ backgroundColor: # + vars.curr_color }); } if ($(#up_btn).length){ $(#up_btn).css({ backgroundColor: # + vars.curr_color }); }*/ } function set_bg_color(){ //$(body).css({ //background-color: # + vars.curr_color // }); //var h $(#copyright_div).position().top //$(#page).height(vars.doc_h + 10 * Math.random()); //alert(getDocHeight()); } function getDocHeight() { //$(#doc_bg).height(10); var D document; return Math.max( D.body.scrollHeight, D.documentElement.scrollHeight, D.body.offsetHeight, D.documentElement.offsetHeight, D.body.clientHeight, D.documentElement.clientHeight ); } // function start_slideshow(){ if(slide_int) { clearInterval(slide_int); slide_int -1; } if (img_count > 1){ //slide_int setInterval(slide_images(), slideshowspeed); var next_image vars.curr_img + 1; if(next_image > img_count) { next_image 1; } open_image_preview(next_image, slideshow); //slide_images(); slide_playing true; } else { vars.curr_img 0; open_image_preview(1); //open_image(1); slide_playing false; } if($(#slideshow_btn).length) { /*$(#slide_play_btn).css({ border-left: 6px solid # + vars.curr_color }); $(#slide_pause1).css({ background-color: #000000 }); $(#slide_pause2).css({ background-color: #000000 });*/ $(#slideshow_btn).html(STOP SLIDESHOW); } } function stop_slideshow(){ if(slide_int) { clearInterval(slide_int); slide_int -1; } slide_playing false; //var slide_btn document.getElementById(slideshow_btn); if($(#slideshow_btn).length) { /*$(#slide_play_btn).css({ border-left: 6px solid #000000 }); $(#slide_pause1).css({ background-color: # + vars.curr_color }); $(#slide_pause2).css({ background-color: # + vars.curr_color });*/ $(#slideshow_btn).html(PLAY SLIDESHOW); } } function toggle_slideshow() { //debug(slide_playing); if(slide_playing) { stop_slideshow(); } else { start_slideshow(); } } function slide_images(dir){ //alert(dir); if (dir prev){ var new_img vars.curr_img - 1; //if (vars.thumbs_only){ if (new_img (vars.max_thumbs_per_col * vars.max_thumbs_per_row * (vars.page_no - 1)) || new_img 0){ $(#thumbs_div).fadeOut( fast, function(){ vars.page_no--; if (vars.page_no 0){ vars.page_no vars.page_count; } display_thumbnails(); }); } //} if (new_img 0){ new_img img_count; } } else { var new_img vars.curr_img + 1; if (active_sec ! home){ var thumbs_per_page vars.max_thumbs_per_col * vars.max_thumbs_per_row * vars.page_no; //alert(new_img + + vars.max_thumbs_per_col * vars.max_thumbs_per_row * vars.page_no + + img_count); //if (!vars.thumbs_only){ if ((new_img > thumbs_per_page && thumbs_per_page > 0) || new_img > img_count){ $(#thumbs_div).fadeOut( fast, function(){ vars.page_no++; if (vars.page_no > vars.page_count){ vars.page_no 1; } display_thumbnails(); }); } //} } if (new_img > img_count){ new_img 1; } } open_image(new_img); } //BLOG STYLE GALLERIES $(window).resize(function(){ //position_gal_images(0); }); function position_gal_images(img_no){ //if (vars.thumbnails no){ var top 0; //var left content_padding;//(content_w - total_w)/2; var site_r 1 vars.gal_img_xpos 0; if (img_no > 0){ var first img_no; var this_img_count img_no; } else { var first 1; var this_img_count img_count; } //var img1_x vars.gal_img_xpos; var img2_x 0; //alert(this_img_count); for (var ifirst; ithis_img_count; i++){ if (i > 1 && $(#img1_div + (i - 1)).length){ top $(#img1_div + (i - 1)).position().top + $(#img1_div + (i - 1)).data(total_h) + 30; } //if (img_no i || img_no 0){ var img1_r image_arrayi.img1_w /image_arrayi.img_h; var img2_r image_arrayi.img2_w /image_arrayi.img_h; var total_w image_arrayi.img1_w + image_arrayi.img2_w; var img1_wr image_arrayi.img1_w/total_w; var img2_wr image_arrayi.img2_w/total_w; if (image_arrayi.images_per_frame > 1){ total_w + img_fr_w; } vars.max_img_w win_w; vars.max_img_h content_h; //vars.curr_img i; //resize_image(blog); //img1_x vars.gal_img_xpos; if (total_w > vars.max_img_w){ var img1_w vars.max_img_w * img1_wr; var img2_w vars.max_img_w * img2_wr; total_w vars.max_img_w; } else { var img1_w image_arrayi.img1_w; var img2_w image_arrayi.img2_w; } var img_h img1_w/img1_r; /*if (img_h > vars.max_img_h){ img_h vars.max_img_h; img1_w img_h * img1_r; img2_w img_h * img2_r; }*/ vars.total_gal_h + img_h + 30; total_w img1_w + img2_w; if (image_arrayi.images_per_frame > 1){ total_w + img_fr_w; } $(#img1_div + i).data(total_w, total_w); $(#img1_div + i).data(total_h, img_h); if ($(#img1_ + i).length){ $(#img1_ + i).width(img1_w); $(#img1_ + i).height(img_h); } if ($(#img2_ + i).length){ $(#img2_ + i).width(img2_w); $(#img2_ + i).height(img_h); } vars.gal_img_xpos (win_w - total_w)/2; $(#img1_div + i).css({ top: top, left: vars.gal_img_xpos }); if (image_arrayi.images_per_frame > 1){ img2_x vars.gal_img_xpos + img1_w + img_fr_w; $(#img2_div + i).css({ top: top + px, left: img2_x }); } //alert(vars.gal_img_xpos); //set watermark if ($(#watermark + i).length){ $(#watermark + i).css({ top: vars.water_ypos, left: (content_w - $(#watermark + i).width())/2 }); $(#watermark + i).css({ display: none, visibility: visible }); if (active_sec proof_gallery){ } else { } } //position image text btn var btn_x vars.gal_img_xpos + total_w - 30;//(content_w - total_w)/2; var btn_y top + img_h + img_fr_w*2 + content_padding; //position info btn $(#img_text_btn + i).css({ top: btn_y, left: btn_x }); if ($(#img_text_btn + i).length){ btn_x + 30; } //position cart btn if ($(#img_cart_btn + i).length){ $(#img_cart_btn + i).css({ top: btn_y, left: btn_x }); btn_x + 30; } //position favorites btn if ($(#add_to_fav_btn + i).length){ $(#add_to_fav_btn + i).css({ top: btn_y, left: btn_x }); } if ($(#delete_fav_btn + i).length){ $(#delete_fav_btn + i).css({ top: btn_y, left: btn_x }); } /* if ($(#delete_fav_bg + i).length){ $(#delete_fav_bg + i).width(30); $(#delete_fav_bg + i).height(30); $(#delete_fav_bg + i).css({ top: btn_y, left: btn_x }); } */ //position image close btn if (!vars.mobile){ $(#img_close_btn + i).css({ top: top + img_fr_w + 20, left: vars.gal_img_xpos + total_w - img_fr_w }); } //set tag width and height var max_text_w total_w - 40 - 30; if ($(#img_text + i).width > max_text_w){ $(#img_text + i).width(max_text_w); } var max_text_bg_w total_w; var text_bg_w $(#img_text + i).width() + 30 + 30; $(#img_text_bg + i).css({ vsibility: hidden }); $(#img_text_bg + i).width(text_bg_w); $(#img_text_bg + i).height($(#img_text + i).height()); if ($(#img_text_bg + i).height() 30){ $(#img_text_bg + i).height(30) ; } var text_y top + img_h - $(#img_text_bg + i).height() - 20; var text_x vars.gal_img_xpos + total_w - $(#img_text + i).width(); var text_bg_x text_x - 30 - 10; $(#img_text_bg + i).css({ top: text_y, left: text_bg_x }); var text_left text_x; $(#img_text + i).css({ top: text_y, left: text_left }); var close_btn_ypos text_y + 5;// + ($(#img_text + i).height() - 28)/2; var close_btn_xpos text_bg_x + 5; $(#img_text_close_btn + i).css({ top: close_btn_ypos, left: close_btn_xpos }); if ($(#pinterest_div + i).length){ $(#pinterest_div + i).css({ top: top + img_h - $(#pinterest_div + i).height(), left: vars.gal_img_xpos + img_fr_w + 5 }); } //vars.gal_img_xpos + total_w + img_fr_w*4; //top + img_h + 30; //add extra spacer /*if (i img_count){ $(#gal_spacer).css({ left: vars.gal_img_xpos }); }*/ //top + img_h + content_padding; //left + total_w; //} } //vars.site_h vars.interface_ypos + top + vars.copy_vspace; //} } function set_video(){ $(#img1_div + vars.curr_img).css({ visibility: visible, top: img_fr_w }); $(#img1_div + vars.curr_img).fadeTo(0, 0.1); //fade out previous if (vars.old_img > 0){ $(#img1_div + vars.old_img).fadeOut(function(){ $(#img1_div + vars.old_img).empty(); $(#img2_div + vars.old_img).empty(); $(#img3_div + vars.old_img).empty(); }); if ($(#img2_ + vars.old_img).length){ $(#img2_div + vars.old_img).fadeOut(); } if ($(#img3_ + vars.old_img).length){ $(#img3_div + vars.old_img).fadeOut(); } $(#img_text_btn + vars.old_img).fadeOut(); $(#img_text_btn_bg + vars.old_img).fadeOut(); $(#img_text_close_btn + vars.old_img).fadeOut(); $(#img_text + vars.old_img).fadeOut(); $(#img_text_bg + vars.old_img).fadeOut(); } //resize_image(new); //set color set_color(vars.curr_img); // //fade in new video $(#img1_div + vars.curr_img).delay(200).fadeTo(fast, 1); for (var i1; i img_count; i++){ if (i ! vars.curr_img){ $(#img1_div + i).fadeOut(function(){ $(#img1_div + i).empty(); }); if ($(#img2_ + i).length){ $(#img2_div + i).fadeOut(function(){ $(#img2_div + i).empty(); }); } if ($(#img3_ + i).length){ $(#img3_div + i).fadeOut(function(){ $(#img3_div + i).empty(); }); } $(#img_text_btn + i).fadeOut(); $(#img_text_btn_bg + i).fadeOut(); $(#img_text_close_btn + i).fadeOut(); $(#img_text + i).fadeOut(); $(#img_text_bg + i).fadeOut(); } } if (slide_playing){ if (active_sec home){ slide_int setInterval(slide_images(), 6000); } else if (active_sec galleries){ slide_int setInterval(slide_images(), gallery_speed); } else { slide_int setInterval(slide_images(), proofing_speed); } } $(#loader_div).fadeOut(); } function position_scroll_btns(){ if ($(#next_btn).length){ $(#next_btn).css({ display: , visibility: hidden }); var btns_w $(#gallery_view_btn).width() + $(#slideshow_btn).width() + 20; if (!vars.mobile){ var scroll_top content_h/2; var scroll_left content_w + 5; } else { var scroll_top content_padding + vars.max_img_h + 30; var scroll_left win_w/2 + 5; } $(#next_btn).css({ top: scroll_top, left: scroll_left, visibility: visible }); if (!vars.mobile){ scroll_top - 11; scroll_left -25; } else { //scroll_top - 11; scroll_left win_w/2 - 35; } $(#prev_btn).css({ display: , visibility: hidden }); $(#prev_btn).css({ top: scroll_top, left: scroll_left, visibility: visible }); } } // //CONTACT SECTION FUNCTIONS function reset_news_form(){ if ($(#news_f).length){ $(#news_f).val(); } } function process_news_form(form_id){ var options { target: , // target element(s) to be updated with server response beforeSubmit: showNewsRequest, // pre-submit callback success: function(results) { //var results_array results.split(split); $(#error_msg2).html(results); reset_news_form(); } // post-submit callback }; // bind form using ajaxForm $(# + form_id).ajaxForm(options); } // pre-submit callback function showNewsRequest(formData, jqForm, options) { // formData is an array; here we use $.param to convert it to a string to display it // but the form plugin does this for you automatically when it submits the data var queryString $.param(formData); // jqForm is a jQuery object encapsulating the form element. To access the // DOM element for the form do this: //var formElement jqForm0; //validate var validated true; if ($(#news_f).val() ){ $(#error_msg2).html(Please enter e-mail address.); validated false; } if (validated){ $(#error_msg2).html(Sending...please wait.); return true; } else { return false; } //alert(About to submit: \n\n + queryString); // here we could return false to prevent the form from being submitted; // returning anything other than false will allow the form submit to continue } function openLikeBox(){ var fb_div $(#fb_div); var fb_close_btn $(#fb_close_btn); var content_div $(#interface_div); var bg_div $(#logo_bg); var logo_div $(#logo_div); fb_div.hide(); var fb_h $(#fb_div).height(); var fb_w $(#fb_div).width(); var xpos ($(window).width() - fb_w)/2; var ypos vars.interface_ypos + 10;//($(window).height() - fb_h)/2; //var ypos $(window).height() - fb_h; var ystart $(window).height(); fb_div.css({ top: ypos + px, left: xpos + px, z-index: 1000000 }); fb_div.fadeIn(); content_div.fadeTo(fast, .05); //bg_div.fadeTo(fast, .05); //logo_div.fadeTo(fast, .05); } function closeLikeBox() { var fb_div $(#fb_div); var content_div $(#interface_div); var bg_div $(#logo_bg); var logo_div $(#logo_div); fb_div.fadeOut(); content_div.fadeTo(fast, 1); //bg_div.fadeTo(fast, 1); ///logo_div.fadeTo(fast, 1); } function cart_add_to_favorites(gal_id, img_id, img_order, type, gal_type){ var post_info gal_id + gal_id + &img_id + img_id + &type + type + &gal_type + gal_type; if(type add) { cart_add_favorite(img_id, gal_id, gal_type); if(vars.favorite_count 0) { $(#favorites_btn).fadeIn(); } vars.favorite_count++; } else { cart_remove_favorite(img_id, gal_id, gal_type); vars.favorite_count--; if(vars.favorite_count 0) { $(#favorites_btn).fadeOut(); } } //save info to database $.ajax({ url: blu_front/ANJA/blu_source/favorite_update.php, type: post, data: post_info, //beforeSend: function(){$(menu).fadeOut(slow);}, success: function(result){ if (type add){ $(#add_to_fav_btn + img_order).attr(src,blu_front/ANJA/v1site_images/graphics/fav_added.png); } else { $.address.path(refresh_favorites); //if(vars.favorite_count > 0) { //$(#favorites_btn).click(); //} else { //$.address.path(refresh_prev_page); //} } //cart_update_favorites_count(type); }, error: function(){ alert(theres an error with AJAX); } }); } function fadeObject(obj, speed, alpha){ $(# + obj).fadeTo(speed, alpha); } function fadeEvent(num) { $(#date_event+num).fadeOut(); } function load_queue(n){ if (n lq.length){ if ($(# + lqn.div_id).length){ $(# + lqn.div_id).append(img idimg_ + lqn.div_id + src + lqn.path + >); $(# + lqn.div_id).data(opened, false); $(#img_ + lqn.div_id).load(function(){ lqn.loaded true; $(# + lqn.div_id).data(set, false); set_size(); $(# + lqn.div_id).css({ display: none, visibility: visible }); if (lqn.display_onload){ $(# + lqn.div_id).fadeIn(); } if (lq_curr_index 0){ loadFonts(); } lq_curr_index++; load_queue(lq_curr_index); }); } } } function position_footer(){ var max_ypos 0; var copy_pad 10; //find bottom of section //alert(position_footer: + active_sec + + vars.sub_type); if (active_sec cart){ max_ypos vars.cart_ypos; } else if (active_sec profile){ max_ypos vars.purchases_ypos; } else if (active_sec home){ if (vars.mobile){ max_ypos vars.max_img_h + content_padding * 2 ; } else { max_ypos content_h + content_padding * 2; if (vars.home_featured_h > 0){ max_ypos + vars.home_featured_h; } } max_ypos $(#home_sec_div).height() + 30; // + vars.interface_ypos; } else if(active_sec text && (vars.sub_type news || vars.sub_type sale)) { max_ypos $(#arrow-scroll-pane).height() + $(#arrows_div).height(); //alert(max_ypos); } else if (active_sec text && (vars.sub_type blog-style || vars.mobile || vars.text_pos || vars.text_pos bottom)){ //debug(sec_count); //if(vars.subsec_ypos > 0) { //max_ypos vars.subsec_ypos + 30; max_ypos $(#content_div + sec_count).position().top + $(#content_div + sec_count).height(); //} //debug(max_ypos + + subsec_ypos); } else if (active_sec text && (vars.sub_type blog-style || vars.mobile || vars.text_pos left || vars.text_pos right)){ //debug(sec_count); //if(vars.subsec_ypos > 0) { //max_ypos vars.subsec_ypos + 30; max_ypos $(#content_div + sec_count).position().top + $(#content_div + sec_count).height(); //} //debug(max_ypos + + subsec_ypos); } else if (active_sec featured){ max_ypos vars.featured_ypos; max_ypos vars.thumbs_h + $(#content_table).height() + 100; } else if (active_sec news || active_sec sale){ max_ypos vars.featured_ypos; max_ypos $(#news_page_div).height() + 30; } else if (active_sec galleries || active_sec proof_gallery || active_sec fav_gallery){ //debug(vars.gallery_view); if(vars.sec_type featured-blog) { var add 110; if(vars.mobile){ var comment_top vars.thumbs_h + $(#gal_title_table).height() + 30; $(#comments_div).css({ top: comment_top }); add 170; } max_ypos $(#comments_div).position().top + $(#comments_div).height() + add; } else if(vars.gallery_view thumbs_only) { max_ypos vars.thumbs_h + 110; } else if(vars.gallery_view arrow_nav) { max_ypos $(#img_preview_div).height() + 70; if (vars.cart){ max_ypos + 300; } } else if (vars.gallery_view ! blogstyle){ max_ypos content_h + 110;//vars.total_gal_h + content_padding * 2; if (vars.cart){ max_ypos + 300; } } else { //max_ypos $(#page).height();//content_padding; for (var i1; iimg_count; i++){ //debug(i + + image_arrayi.img_h); //max_ypos + image_arrayi.img_h + 35; } max_ypos $(#images_holder_div).height() + 130; // Extra 130 is for title if (vars.cart){ max_ypos + 300; } } } else if (active_sec contact){ max_ypos vars.contact_ypos; max_ypos $(#form_div).position().top + $(#form_div).height() + 30; //alert(getDocHeight() + + vars.contact_ypos + + win_h); } else if (active_sec proof){ if (!vars.mobile){ //max_ypos vars.proof_ypos; var h $(#form_div).height(); if($(#title2_div).height() > h) { h $(#title2_div).height(); } max_ypos $(#form_div).position().top + h + 40; } else { max_ypos vars.proof_ypos; } } else if (active_sec proof_preview){ if (!vars.mobile){ max_ypos vars.proof_preview_ypos; } else { max_ypos vars.proof_preview_ypos; } } else if (active_sec collage){ if (!vars.mobile){ max_ypos collage_h + 8 + $(#col_name1).outerHeight(); } else { max_ypos vars.collage_ypos + 8; } } else if (active_sec video && $(#video_links_div).length){ //max_ypos $(#video_links_div).height(); max_ypos vars.video_gallery_height; //debug(max_ypos); if (max_ypos (content_h + content_padding * 2)){ max_ypos (content_h + content_padding * 2); } } else { max_ypos content_h + content_padding * 2; } max_ypos + 10; //if (vars.cart_opened){ // max_ypos $(#cart_div).height() + 16; //s} if (!vars.mobile){ var footer_elem_top vars.interface_ypos + max_ypos + vars.footer_h + 16 + copy_pad vars.footer_top_goal vars.interface_ypos + max_ypos; vars.home_featured_top vars.footer_top_goal; } else { var footer_elem_top vars.interface_ypos + max_ypos + 16 + 20; vars.home_featured_top footer_elem_top; if (vars.main_featured_count > 0 && active_sec home){ //footer_elem_top + (vars.main_featured_img_h + content_padding) * vars.main_featured_count + vars.footer_h; } vars.footer_top_goal footer_elem_top + 30; } //alert(footer_top_goal + vars.footer_top_goal + max_ypos + max_ypos); if (vars.mobile){ vars.footer_h 60; $(#footer_div).height(vars.footer_h); $(#footer_div).css({ bottom: 0//vars.footer_top_goal }); } else { //alert(getDocHeight() + + win_h); //vars.footer_h getDocHeight() - vars.footer_top_goal; //if(getDocHeight() > win_h) { vars.footer_h $(#footer_div).height() ; //40; //} //alert(vars.footer_top_goal + + (win_h - vars.footer_h)); if(vars.footer_top_goal (win_h - vars.footer_h) ) { vars.footer_top_goal (win_h - vars.footer_h); } var min_y (vars.interface_ypos + $(#interface_div).height() - vars.footer_h); //if(vars.ipad) { // var min_y (getDocHeight() - vars.footer_h); //} //debug(vars.footer_top_goal + + min_y); //alert(vars.footer_top_goal + + min_y); if(vars.footer_top_goal min_y ) { vars.footer_top_goal min_y; } //alert(vars.footer_top_goal + + $(#interface_div).height()); $(#footer_div).height(vars.footer_h); if(vars.menu_bg_type ! full_window) { $(#footer_div).width(content_w); // + 70 - 10); } else { $(#footer_div).width(win_w - 70); } $(#footer_div).css({ top: vars.footer_top_goal }); } vars.social_ypos vars.footer_top_goal + (vars.footer_h - vars.social_h)/2 + 8; if (!vars.mobile){ vars.social_ypos vars.logo_ypos + $(#logo_div).data(h) + content_padding; // vars.menu_ypos + vars.menu_h; //- vars.social_h/2 + 2; if(vars.menu_position top) { //vars.social_ypos 10; //vars.logo_ypos + $(#logo_div).data(h) + vars.menu_h + 7 + header_padding + 10; //vars.social_ypos vars.logo_ypos + $(#logo_div).data(h) + header_padding; // + vars.menu_h + 7 + header_padding + 10; vars.social_ypos $(#logo_div).data(h) + $(#menu_div).height() + (14) + (header_padding) + logo_padding + 10 ; } vars.site_icons_ypos vars.menu_ypos + 30 * 2 + vars.menu_h - $(#favorites_btn).data(h)/2 - 4; } //vars.doc_h getDocHeight(); //if ((active_sec text && vars.sub_type blog-style) || active_sec featured || active_sec collage || active_sec video){ //vars.footer_top_goal footer_elem_top - vars.footer_h; //alert(footer: + vars.footer_top_goal); //$(#doc_bg).height(max_ypos - 8); //} //set copyright $(#copyright_div).css({ //top: $(#footer_div).position().top + 5,//vars.footer_top_goal + 5, //$(#footer_div).position().top + $(#footer_div).height() + 16 + 10 //left: 0, }); //alert($(#copyright_div).data(opened) + + vars.sec_loaded); if (!$(#copyright_div).data(opened) && vars.sec_loaded){ $(#copyright_div).data(opened, true); /*$(#copyright_div).css({ display: none, visibility: visible }); $(#copyright_div).fadeIn(fast);*/ } if ($(#slideshow_btn).length){ var slide_x ((win_w - $(#slideshow_btn).width()) / 2); $(#slideshow_btn).css({ bottom: 0, // $(#copyright_div).position().top z-index: 800000, padding-bottom: 12 + px, left: slide_x }); } if ($(#scroll_div).length){ $(#scroll_div).css({ //top: (vars.footer_top_goal - vars.interface_ypos) + 5, left: vars.interface_xpos + (content_w - $(#scroll_div).width())/2 }); } if($(#footer_bg_bottom_line).length) { $(#footer_bg_bottom_line).css({ top: 4 }); } //$(#doc_bg).height(vars.doc_h); //position_home_featured(); position_icons(); } function close_footer_elements(){ /*$(#copyright_div).data(opened, false); $(#copyright_div).fadeOut(fast); $(#sound_player_div).data(opened, false); $(#sound_player_div).fadeOut(fast); */ } function scaleSecImage(sec_no, per, type){ var total_width 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ var r img_arraysec_noi.img_w/img_arraysec_noi.img_h; var subtractor 0; if(active_sec ! news && active_sec ! sale) { subtractor (2*0); } if (type h){ img_arraysec_noi.scaled_h Math.floor(img_arraysec_noi.img_h * per - subtractor); img_arraysec_noi.scaled_w Math.floor(img_arraysec_noi.scaled_h * r - subtractor); } else { var new_width Math.floor(img_arraysec_noi.img_w * per); var new_height new_width / r; //img_arraysec_noi.scaled_w / r; if(active_sec ! news && active_sec ! sale) { new_width - (2*0); new_height - (2*0); } total_width + new_width; if(i > 1) { total_width + 2; } img_arraysec_noi.scaled_w Math.round(img_arraysec_noi.img_w * per - subtractor); img_arraysec_noi.scaled_h Math.round(img_arraysec_noi.scaled_w / r - subtractor); if(active_sec news || active_sec sale) { $(#thumb + sec_no).data(t_w, total_width); $(#thumb + sec_no).data(t_h, new_height); $(#text_img + sec_no + _ + i).data(t_w, new_width); $(#text_img + sec_no + _ + i).data(t_h, new_height); } } //debug(sec_no + + type + + img_arraysec_noi.scaled_w); $(#text_img + sec_no + _ + i).height(img_arraysec_noi.scaled_h); $(#text_img + sec_no + _ + i).width(img_arraysec_noi.scaled_w); } } } function scaleSecImages(sec_no, is_text) { if((active_sec news || active_sec sale)) { var no_image sec_arraysec_no.no_image; if(no_image 1){ return; } } if(is_text) { var media_type sec_arraysec_no.media_type; //; if(vars.sub_type news || vars.sub_type sale) { media_type image; } if(media_type ! image && active_sec ! news && active_sec ! sale) { return; } } var total_h $(#img_container_div + sec_no).height(); var spacer vars.img_spacer; if(active_sec news || active_sec sale) { spacer 1; } if (vars.mobile){ //spacer Math.round(spacer/2); } var last_no 0; var total_w 0;//$(#img_container_div + sec_no).width(); var adder 0; var total_test_w 0; if(active_sec ! news && active_sec ! sale) { adder (2*0); } for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; total_w + img_arraysec_noi.img_w; total_test_w + img_arraysec_noi.img_w + adder; } } // //SCALE IMAGES var text_pos vars.text_pos; if(is_text 1) { text_pos sec_arraysec_no.text_pos; } if ((text_pos left || text_pos right || text_pos center) && !vars.mobile){ //get last image number var space_count_row img_arraysec_nolast_no.row - 1; var total_img_h total_h; if (active_sec home || active_sec galleries){ var content_area content_h;//win_h - 150 - vpadding - content_padding * 2; } else { var content_area site_h; if (content_area > max_h && active_sec ! contact){ content_area max_h; } } //alert(total_img_h + + content_area); if (total_img_h > content_area){ var per content_area/total_img_h; scaleSecImage(sec_no, per, h); //positionSecImages(sec_no, per, is_text); } } else if (text_pos ! || active_sec news || active_sec sale) { var space_count_col img_arraysec_nolast_no.col - 1; var total_img_w total_w; var adder 2; if(vars.mobile) { adder 0; } var content_area content_w - space_count_col * spacer;// - img_fr_w * 2; if(active_sec news || active_sec sale) { var content_area vars.thumb_only_w - space_count_col; } //debug(total_w + + content_w); //alert(sec_no + + space_count_col + + spacer); if (total_test_w > content_area || active_sec news || active_sec sale){ var per (content_area/(total_img_w)); //alert(content_area + + total_img_w + + per); scaleSecImage(sec_no, per, w); //positionSecImages(sec_no, per, is_text); } } } function positionSecImages(sec_no, per, is_text) { var param_array, row, col, w, h, xpos, ypos, prev_row, prev_col, prev_w, prev_h, div_html, img_dir, total_w, total_h, border_xpos, sec_pos; var spacer content_padding; //Math.round(content_padding/2); if(active_sec news || active_sec sale) { spacer 1; } var last_img 0; xpos 0; ypos 0; if (is_text){ sec_pos sec_arraysec_no.text_pos; } else { sec_pos vars.text_pos; } //alert(is_text); var last_no 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; } } for (var i1; ilast_no + 1; i++){ //param_array layout_img_arrayi.split(:); row parseInt(img_arraysec_noi.row); col parseInt(img_arraysec_noi.col); w parseInt(img_arraysec_noi.scaled_w); h parseInt(img_arraysec_noi.scaled_h); img_dir img_arraysec_noi.img_path; if (row > 0){ last_img i; if (i > 1){ prev_row parseInt(img_arraysec_no(i - 1).row); prev_col parseInt(img_arraysec_no(i - 1).col); prev_w parseInt(img_arraysec_no(i - 1).scaled_w); prev_h parseInt(img_arraysec_no(i - 1).scaled_h); //get ypos if (prev_col > col){ for (var j1; ji; j++){ if (img_arraysec_noj.row (row - 1) && img_arraysec_noj.col col){ prev_h img_arraysec_noj.scaled_h; break; } } ypos + prev_h + spacer; } //get xpos if (prev_row row){ xpos + prev_w + spacer; if (sec_pos center){ xpos content_w - w; } } else { xpos 0; for (var j1; ji; j++){ var prev_ypos $(#text_img + sec_no + _ + j).position().top + img_arraysec_noj.scaled_h; if (img_arraysec_noj.col col && prev_ypos > ypos){ xpos + img_arraysec_noj.scaled_w + spacer; break; } } } } img_arraysec_noi.xpos xpos; img_arraysec_noi.ypos ypos; $(#text_img + sec_no + _ + i).data(img_no, i); $(#text_img + sec_no + _ + i).data(img_count, last_no); $(#text_img + sec_no + _ + i).css({ top: ypos, left: xpos }); if (sec_pos ! left){ border_xpos xpos; } else { if (is_text){ border_xpos content_w - img_arraysec_noi.scaled_w } else { border_xpos 0; } } $(#text_img_border + sec_no + _ + i).css({ top: ypos + 8, left: border_xpos + 8 }); //alert($(#text_img_border + sec_no + _ + i).width() + + sec_no + + i); } } //end for total_w 0; total_h 0; for (var i1; i last_no; i++){ if ((img_arraysec_noi.xpos + img_arraysec_noi.scaled_w) > total_w){ total_w img_arraysec_noi.xpos + img_arraysec_noi.scaled_w - 1; } if ((img_arraysec_noi.ypos + img_arraysec_noi.scaled_h) > total_h){ total_h img_arraysec_noi.ypos + img_arraysec_noi.scaled_h; } } $(#img_container_div + sec_no).width(total_w); $(#img_container_div + sec_no).height(total_h); if (active_sec text){ position_text(); } else if (active_sec contact){ position_contact(); } else if (active_sec proof){ position_proof_sec(); } //$(#img_container_div + sec_no).fadeTo(0, 1); //$(#img_float_div + sec_no).fadeTo(0, 1); } function setSecImages(sec_no, is_text, sec_count, resize){ var sec_pos; if (is_text){ sec_pos sec_arraysec_no.text_pos; } else { sec_pos vars.text_pos; } if ($(#sec_vborder + sec_no).length && false){ if (!$(#sec_vborder + sec_no).data(opened)){ var vborder_x 30; var vborder_y1 0; if (active_sec text){ var vborder_y2 $(#text_div + sec_no).height(); } else if (active_sec contact){ var vborder_y2 $(#contact_content).height(); } if (vars.sub_type download){ vborder_y2 + $(#downloads_div).height(); } var sec_vborder Raphael(sec_vborder + sec_no); sec_vborder.clear(); sec_vborder.drawnLine(vborder_x, vborder_y1, vborder_x, vborder_y2, 1).attr(stroke,#c6c6c6); $(#sec_vborder + sec_no).data(opened, true); } } if ($(#border_div + sec_no).length && false){ if (sec_no sec_count && !$(#border_div + sec_no).data(opened)){ $(#border_div + sec_no).css({ visibility:visible }); var border_x1 0; var border_x2 content_w; var border_y 4/2; var sec_border Raphael(border_div + sec_no); sec_border.clear(); sec_border.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); $(#border_div + sec_no).data(opened, true); } } //set downloads if ($(#downloads_holder_div).length && !resize){ $(#downloads_div).appendTo($(#downloads_holder_div)); //alert($(#downloads_holder_div).html()); } if (sec_pos ! || active_sec news || active_sec sale){ //var layout layout_arrayn; //var layout_img_array layout.split(,); var param_array, row, col, w, h, xpos, ypos, prev_row, prev_col, prev_w, prev_h, div_html, img_dir, total_w, total_h, total_img_w, total_img_h; var spacer vars.img_spacer; if(active_sec news || active_sec sale) { spacer 1; } var last_img 0; xpos 0; ypos 0; var last_no 0; for (var i1; iimg_arraysec_no.length; i++){ if (img_arraysec_noi.img_w > 0){ last_no++; } } scaleSecImages(sec_no, is_text); //positionSecImages(sec_no, 1); //open images if (!resize){ //alert(last_no); $(#img_tr + sec_no).empty(); for (var i1; ilast_no + 1; i++){ row parseInt(img_arraysec_noi.row); col parseInt(img_arraysec_noi.col); w parseInt(img_arraysec_noi.scaled_w); h parseInt(img_arraysec_noi.scaled_h); xpos parseInt(img_arraysec_noi.xpos); ypos parseInt(img_arraysec_noi.ypos); img_dir img_arraysec_noi.img_path; if (row > 0){ if(active_sec news || active_sec sale) { var pad 0; if(i > 1) { pad 1; } div_html td>img idtext_img + sec_no + _ + i + src + img_dir + style width: + w + px; height: + h + px; padding-left: + pad + px; visibility:hidden; >/td>; } else { div_html td>img classimage_border idtext_img + sec_no + _ + i + src + img_dir + style width: + w + px; height: + h + px; visibility:hidden; >/td>; } if (i last_no && active_sec ! news && active_sec ! sale){ div_html + td stylewidth: + spacer + px> /td>; } //div_html + div idtext_img_border + sec_no + _ + i + styleposition:absolute; visibility:hidden; border:px solid #ffffff;> /div>; $(#img_tr + sec_no).append(div_html); $(#text_img + sec_no + _ + i).data(img_no, i); $(#text_img + sec_no + _ + i).data(sec_no, sec_no); //debug(i + + img_dir + + sec_no); //alert(sec_no + + i); $(#text_img + sec_no + _ + i).load(function(){ var img_no $(this).data(img_no); var s_no $(this).data(sec_no); var next_sec s_no + 1; //debug(img_no + + s_no); //debug(active_sec + + is_text + + vars.sub_type); //alert(img_no); if(active_sec news || active_sec sale) { var is_vis $(#thumb + s_no).data(visible); if(sec_no 1) { $(#content_table).css({ display: none, visibility: visible }); $(#content_table).fadeIn(fast); } position_featured_text(); if(is_vis false) { $(#thumb + s_no).data(visible, true); $(#thumb + s_no).css({ display: none, visibility: visible }); $(#thumb + s_no + div).css({ display: none, visibility: visible }); $(#gal_name_bg + s_no).css({ display: none, visibility: visible }); $(#gal_name + s_no).css({ display: none, visibility: visible }); $(this).data(opened, true); //alert($(this).data(opened)); $(#gal_name + s_no).fadeIn(); $(#gal_name_bg + s_no).fadeIn(); $(#thumb + s_no).fadeIn(slow); $(#thumb + s_no + div).data(my_num, s_no); $(#thumb + s_no + div).fadeIn(slow, function() { var num $(this).data(my_num); //position_featured_text(); }); } $(this).css({ display: none, visibility: visible }); $(this).fadeIn(slow, function(){ }); if(next_sec sec_count) { // setSecImages(next_sec, false, sec_count, false); } } else { $(this).css({ display:block, visibility:hidden }); // if (sec_pos right || sec_pos left){ $(#content_div + s_no).css({ display:block, visibility:hidden }); $(#text_content_div + s_no).css({ display:block, visibility:hidden }); // debug($(this).height() + + $(#text_content_div + s_no).height() + + s_no); if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { position_news(s_no); } else if(is_text) { position_text(); } position_footer(); $(#text_content_div + s_no).css({ display:none, visibility:visible }); if (vars.sub_type news || vars.sub_type sale){ $(#text_content_div + s_no).fadeIn(slow, function() { }); } //} if (sec_pos right || sec_pos left && (vars.sub_type ! news && vars.sub_type ! sale)){ $(#text_content_div + s_no).fadeIn(); } /*if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { position_news(); } else if(is_text) { position_text(); }*/ $(#content_div + s_no).css({ display:none, visibility:visible }); $(#titles_div + s_no).css({ display:none, visibility:visible }); if(active_sec text && (vars.sub_type news || vars.sub_type sale) ) { $(#content_div + s_no).fadeIn(slow); $(#titles_div + s_no).fadeIn(slow); if(s_no 1) { if(vars.curr_news_page 1) { $(#prev_post).css({ visibility:hidden }); $(#next_post).css({ visibility:visible }); } if(vars.curr_news_page sec_count) { $(#next_post).css({ visibility:hidden }); $(#prev_post).css({ visibility:visible }); } } } else { $(#content_div + s_no).fadeIn(0); $(#titles_div + s_no).fadeIn(0); } if(is_text false && (active_sec ! news && active_sec ! sale)) { $(#content_holder_table).css({ display:none, visibility:visible }); $(#content_holder_table).fadeIn(fast); } //$(#site_div).height(getDocHeight()); $(this).css({ display:none, visibility:visible }); $(this).fadeIn(slow); } if ( (is_text || active_sec news || active_sec sale) && sec_no sec_count){ //if ( (is_text) && sec_no sec_count){ for (var isec_no + 1; i sec_count; i++){ var has_images sec_arrayi.has_images; //debug(i + + sec_count + + text_position); if(has_images true || active_sec news) { if(active_sec news || active_sec sale) { setSecImages(i, false, sec_count, false); } else { setSecImages(i, true, sec_count, false); } break; } } } }); } } //end for } // end resize total_w 0; total_h 0; for (var i1; i last_no; i++){ if ((img_arraysec_noi.xpos + img_arraysec_noi.scaled_w) > total_w){ total_w img_arraysec_noi.xpos + img_arraysec_noi.scaled_w - 1; } if ((img_arraysec_noi.ypos + img_arraysec_noi.scaled_h) > total_h){ total_h img_arraysec_noi.ypos + img_arraysec_noi.scaled_h; } } // //$(#img_container_div + sec_no).data(total_w, total_w); //$(#img_container_div + sec_no).data(total_h, total_h); //$(#img_container_div + sec_no).width(total_w); //$(#img_container_div + sec_no).height(total_h); //positionSecImages(sec_no, 1, is_text); //scaleSecImages(sec_no, is_text); /*vars.total_img_w 0; vars.total_img_h content_h; for (var i1; i last_no; i++){ vars.total_img_w + img_arraysec_noi.scaled_w; if (img_arraysec_noi.scaled_h > total_img_h){ //total_img_h img_arraysec_noi.scaled_w; } $(#text_img_border + sec_no + _ + i).width(img_arraysec_noi.scaled_w - 8 * 2 - 2); $(#text_img_border + sec_no + _ + i).height(img_arraysec_noi.scaled_h - 8 * 2 - 2); $(#text_img_border + sec_no + _ + i).css({ display: none, visibility: visible }); $(#text_img_border + sec_no + _ + i).fadeIn(); }*/ } else { if (active_sec text){ //position_text(); } else if (active_sec contact){ //position_contact(); } else if (active_sec proof){ //position_proof_sec(); } if (is_text && sec_no sec_count){ setSecImages(sec_no + 1, is_text, sec_count, resize); } vars.total_img_w 0; if (active_sec text){ vars.total_img_h $(#content_div + sec_no).height() + 30 * 2 - 8 * 2 - 2; } else { vars.total_img_h content_h - 8 * 2 - 2; } } } function position_icons(){ vars.icons_w 0; if (!$(#social_buttons).length && !$(#shop_buttons).length){ vars.social_h 30; } if ($(#social_buttons).length){ //if (vars.social_w $(#social_lbl).width()){ // vars.icons_w + $(#social_lbl).width() + 7; //} else { vars.icons_w + vars.social_w; //} vars.social_h $(#social_buttons).height(); } if ($(#shop_buttons).length){ vars.icons_w + $(#shop_buttons).width() + 7;//vars.shop_icon_w + 7 * 8; if (vars.social_h $(#shop_buttons).height()){ vars.social_h $(#shop_buttons).height(); } } if (!vars.mobile){ //vars.social_xpos win_w - vars.social_w - 30; if (vars.logo_pos left || vars.logo_pos center){ vars.social_xpos vars.interface_xpos + content_w - vars.social_w; } else { vars.social_xpos vars.interface_xpos - 10; } vars.social_xpos vars.interface_xpos - vars.side_menu_w - 7 + (( vars.side_menu_w - vars.social_w) / 2) - 35; if(vars.menu_position right) { vars.social_xpos vars.menu_xpos - 7 + ((vars.side_menu_w - vars.social_w) / 2) - 35; } else if(vars.menu_position top || vars.menu_position top_above_logo) { //vars.social_xpos vars.interface_xpos - 10; // + ((content_w - vars.icons_w) / 2) + $(#shop_buttons).width() ; //vars.social_xpos vars.interface_xpos + (( content_w - vars.social_w) / 2) - 10; vars.social_xpos vars.interface_xpos + content_w - vars.social_w - 10; if(vars.logo_pos right) { vars.social_xpos vars.interface_xpos - 10; } else if(vars.logo_pos center) { vars.social_xpos vars.interface_xpos - 10; // + (( content_w - vars.social_w) / 2) - 10; } if(vars.menu_bg_type full_window) { //vars.social_xpos 35; } } } else { vars.social_xpos win_w - vars.social_w - 7; } //SET FAVORITES BTN //icon_xpos vars.interface_xpos + content_padding; //icon_xpos vars.interface_xpos + content_w; if ($(#social_buttons).length){ //icon_xpos win_w - vars.social_w - 20; //vars.social_xpos icon_xpos; //vars.interface_ypos - - title_space + (title_space - vars.social_h)/2; //vars.social_ypos win_h - 45; if (!vars.mobile){ $(#social_buttons).css({ top: vars.social_ypos, left: vars.social_xpos }); } else { $(#social_buttons).width(win_w); $(#social_buttons).css({ bottom: 30, left: 0//vars.social_xpos }); } /*$(#social_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ if (!vars.mobile){ if (vars.social_w $(#social_lbl).width()){ //vars.social_xpos + $(#social_lbl).width() + 7; } else { //vars.social_xpos + vars.social_w + 7 * 8; } } } if (vars.mobile){ vars.social_xpos 7; } if ($(#shop_buttons).length){ //icon_xpos - vars.shop_icon_w; //vars.social_xpos + icon_xpos; var shop_ypos vars.logo_ypos + ((vars.logo_h - $(#shop_buttons).height()) / 2); //vars.site_icons_ypos; if(vars.menu_position top || vars.menu_position top_above_logo) { if (vars.logo_pos right || vars.logo_pos center){ var shop_xpos vars.interface_xpos - 5; } else { var shop_xpos vars.interface_xpos + content_w - $(#shop_buttons).width(); } var shop_xpos vars.interface_xpos + content_w - $(#shop_buttons).width(); ///vars.social_xpos - $(#shop_buttons).width() - 7; if(vars.logo_pos left) { var shop_xpos vars.interface_xpos - 5; } if(vars.menu_bg_type full_window) { //shop_xpos win_w - $(#shop_buttons).width() - 35 - 15; } var shop_ypos vars.social_ypos; } else if(vars.menu_position left) { //var shop_xpos vars.interface_xpos - vars.side_menu_w + 35 - 10; var shop_xpos vars.interface_xpos - vars.side_menu_w - 10 + (( vars.side_menu_w - $(#shop_buttons).width()) / 2) - 35; var shop_ypos vars.menu_ypos + vars.menu_h; } else if(vars.menu_position right) { var shop_ypos vars.menu_ypos + vars.menu_h; //var shop_xpos vars.menu_xpos + vars.side_menu_w - 70 - $(#shop_buttons).width(); var shop_xpos vars.menu_xpos + ((vars.side_menu_w - $(#shop_buttons).width()) / 2) - 35; } if (!vars.mobile){ $(#shop_buttons).css({ top: shop_ypos, left: shop_xpos //win_w - $(#shop_buttons).width() - 30 //vars.social_xpos }); } else { $(#shop_buttons).css({ bottom: 30, left: vars.social_xpos }); } /*$(#shop_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ if ($(#social_divider_div).length){ $(#social_divider_div).css({ top: 0, left: $(#favorites_btn).data(w) + 15 }); /*$(#social_divider_div).animate({ top: vars.social_ypos + $(#social_lbl).height() + 5 },fast, easeOutQuart);*/ } } //if ($(#login_buttons).length){ //icon_xpos - vars.shop_icon_w; //vars.social_xpos + icon_xpos; //if (!vars.mobile){ /*if (!$(#login_buttons).data(opened)){ $(#login_buttons).css({ visibility: hidden, display: block }); } $(#login_buttons).css({ top: ($(#logo_bg).height() - $(#login_buttons).height()) / 2, left: win_w - $(#login_buttons).width() - 50 //vars.social_xpos }); //} /*$(#shop_buttons).animate({ top: vars.social_ypos },fast, easeOutQuart);*/ //} } function position_mobile_menu(type) { } function bluSetProfilePopup(){ if (vars.profile_logged){ bluShowProfileMenu(); } else { bluShowSignIn(); } } function bluShowProfileMenu(){ $(#profile_menu_bg_div).css({ top: 0, left: 0 }); $(#profile_menu_bg_div).width(win_w); $(#profile_menu_bg_div).height($(document).height()); $(#profile_menu_bg_div).fadeTo(fast, vars.popup_opacity); var top vars.interface_ypos;//(win_h - $(#profile_menu_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#profile_menu_div).css({ left: (win_w - $(#profile_menu_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#profile_menu_div).css({ display:none, visibility:visible }); $(#profile_menu_div).fadeIn(fast); } function bluHideProfileMenu(){ //$(#page).fadeTo(fast, 1); $(#profile_menu_bg_div).fadeOut(fast); $(#profile_menu_div).fadeOut(fast); } function bluShowSignIn(){ $(#signin_bg_div).css({ top: 0, left: 0 }); $(#signin_bg_div).width(win_w); $(#signin_bg_div).height($(document).height()); $(#signin_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#signin_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#signin_div).css({ left: (win_w - $(#signin_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#signin_div).css({ display:none, visibility:visible }); $(#signin_div).fadeIn(fast); } function bluHideSignIn(){ //$(#page).fadeTo(fast, 1); $(#signin_bg_div).fadeOut(fast); $(#signin_div).fadeOut(fast); } function bluShowAddAll(){ if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } $(#addall_bg_div).css({ top: 0, left: 0 }); $(#addall_bg_div).width(win_w); $(#addall_bg_div).height($(document).height()); $(#addall_bg_div).css({ left: -vars.interface_xpos, top: -vars.interface_ypos }); $(#addall_bg_div).fadeTo(fast, vars.popup_opacity); var goal_top -content_padding;//(win_h - $(#addall_div).height())/2 - vars.interface_ypos - 50; var goal_left (content_w - $(#addall_div).width())/2; if(vars.mobile) { goal_left 0; goal_top -100; } if(vars.ipad) { goal_top -vars.interface_ypos + 40; } $(#addall_div).css({ left: goal_left, top: goal_top }); //$(#page).fadeTo(fast, 0.1); $(#addall_div).css({ display:none, visibility:visible }); $(#addall_div).fadeIn(fast); } function bluHideAddAll(){ if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } //$(#page).fadeTo(fast, 1); $(#addall_bg_div).fadeOut(fast); $(#addall_div).fadeOut(fast); } function bluCartAddAll(){ if (!vars.profile_logged){ bluShowSignIn(); } else { var post $(#addall_cart_form).serialize(); $.post(blu_front/ANJA/blu_source/cart_add_all.php, post, function( data ) { //alert(data); var data_values data.split(&); //alert(data_values); if (data_values0 added){ vars.blucart_count parseInt(data_values1); for (var i1; iimg_count; i++){ image_arrayi.cart_status 1; } //show/hide checkout btn if (vars.blucart_count > 0){ bluOpenCart(); } } }); } } function bluProcessSignin(url, form_id){ var post $(# + form_id).serialize() + &client_id + vars.proof_id; $.post(blu_front/ANJA/blu_source/ + url + .php, post, function( data ) { //alert(data); var data_array data.split(&); if (data.indexOf(success) ! -1){ if (form_id forgot_pass_form && data_array3 forgot_pass){ $(#forgot_pass_email_tr).fadeOut(0); $(#forgot_pass_q_tr).fadeIn(0); $(#forgot_pass_sq).html(decodeURIComponent(data_array1)); $(#form_type).val(forgot_pass2); $(#forgot_pass_submit_form_btn).fadeOut(0); $(#forgot_pass_submit_form_btn2).fadeIn(0); $(#forgot_pass_submit_form_btn2).data(a, decodeURIComponent(data_array2)); $(#forgot_pass_submit_form_btn2).data(p, decodeURIComponent(data_array4)); $(#forgot_pass_submit_form_btn2).data(e, decodeURIComponent(data_array5)); } else { $(#email).val(); $(#pass).val(); vars.profile_logged true; vars.profile_name data_array3;//decodeURI(data_array3); bluHideSignIn(); bluSetAccess(init); } } else { if (form_id forgot_pass_form){ $(#forgot_pass_error_msg).html(data); } else { $(#signin_error_msg).html(data); } } }); } /* function bluProcessSignin(url, form_id){ var post $(# + form_id).serialize() + &client_id + vars.proof_id; $.post(blu_front/ANJA/blu_source/ + url + .php, post, function( data ) { //alert(data); var data_array data.split(&); if (data.indexOf(success) ! -1){ //$(#signin_btn).html(); // bluSetCookie(blu_profile_email, data_array1); // bluSetCookie(blu_profile_id, data_array2); $(#email).val(); $(#pass).val(); vars.profile_logged true; vars.profile_name data_array3;//decodeURI(data_array3); //vars.profile_name vars.profile_name.replace( , ); //alert(vars.profile_name); bluHideSignIn(); bluSetAccess(init); } else { $(#signin_error_msg).html(data); } }); } */ function bluSetCookie(c_name, value){ var exdate new Date(); if (value ){ var exdays -1; } else { var exdays 7; } exdate.setDate(exdate.getDate() + exdays); document.cookie c_name + +encodeURIComponent(value) + ((exdaysnull) ? : ;expires+exdate.toUTCString()) + ;path/; } function bluGetCookie(c_name){ if (document.cookie.length>0){ c_startdocument.cookie.indexOf(c_name + ); if (c_start!-1){ c_startc_start + c_name.length+1; c_enddocument.cookie.indexOf(;,c_start); if (c_end-1) c_enddocument.cookie.length; return decodeURIComponent(document.cookie.substring(c_start,c_end)); } else { return ; } } else { return ; } } function bluDeleteCookie(name) { bluSetCookie(name,); } function bluGetCookiesArray() { var cookies { }; if (document.cookie && document.cookie ! ) { var split document.cookie.split(;); for (var i 0; i split.length; i++) { var name_value spliti.split(); name_value0 name_value0.replace(/^ /, ); cookiesdecodeURIComponent(name_value0) decodeURIComponent(name_value1); } } return cookies; } function bluDisplayCookies(){ var msg ; var cookies bluGetCookiesArray(); for (var name in cookies) { msg + name: + name + value: + bluGetCookie(name) + br>; } //alert(msg); //$(body).append(div styleposition:absolute; z-index:1000000> + msg + /div>); } //bluDisplayCookies(); function bluSetLoginBtn(){ if (false){ //if ($(#login_buttons).data(opened)){ if (vars.profile_logged){ $(#signin_btn).fadeOut(0); $(#logout_btn).css({ visibility: hidden, display: block }); $(#profile_btn).css({ visibility: hidden, display: block }); //position var top vars.logo_ypos + ($(#logo_div).height() - $(#logout_btn).height()) / 2 - 8; //var login_xpos ((win_w - $(#login_form_div).width() ) / 2); //var login_w $(#login_form_div).width(); //if(login_xpos + login_w > signin_x) { var left win_w - $(#logout_btn).width() - 70; $(#logout_btn).css({ top: top, left: left }); left - $(#profile_btn).width() + 40; $(#profile_btn).css({ top: top, left: left }); if(!vars.mobile) { left - $(#profile_name_div).width(); $(#profile_name_div).css({ top: top + 5, left: left }); } //position_icons(); $(#logout_btn).css({ visibility: visible, display: none }); $(#profile_btn).css({ visibility: visible, display: none }); if(!vars.mobile) { $(#profile_name_div).css({ visibility: visible }); } $(#logout_btn).fadeIn(0); $(#profile_btn).fadeIn(0); } else { $(#signin_btn).css({ visibility: hidden, display: block }); //position //var top ($(#logo_bg).height() - $(#signin_btn).height()) / 2 - 8; //var left win_w - $(#signin_btn).width() - 70; //$(#signin_btn).css({ // top: top, // left: left //}); $(#signin_btn).css({ visibility: visible, display: none }); $(#signin_btn).fadeIn(0); $(#logout_btn).fadeOut(0); $(#profile_btn).fadeOut(0); } //} } } function bluLogOut(){ bluHideProfileMenu(); //bluDeleteCookie(blu_profile_id); //bluDeleteCookie(blu_profile_email); var post profile_id; $.post(blu_front/ANJA/blu_source/profile_signout_process.php, post, function( data ) { /* var data_array data.split(&); //alert(data_array1); if (data.indexOf(success) ! -1){ //$(#signin_btn).html(); bluSetCookie(blu_profile_email, data_array1); bluSetCookie(blu_profile_id, data_array2); $(#email).val(); $(#pass).val(); bluSetLogin(); bluHideSignIn(); } else { $(#signin_error_msg).html(data); }*/ vars.profile_logged false; vars.proof_logged false; bluSetAccess(); }); } function bluSetAccess(type){ //alert(vars.profile_logged); //alert(type + + active_sec + + vars.profile_logged + + vars.proof_logged); //check if signed in if (vars.profile_logged){ var post ; $.post(blu_front/ANJA/blu_source/profile_check_galleries.php, post, function( data ) { data_array data.split(&); //alert(data); var gal_count parseInt(data_array0); vars.profile_gal_count gal_count; vars.profile_name data_array1; if (gal_count > 0){ vars.blucart_count data_array2; //vars.proof_id data_array4; //alert(set: + vars.proof_id); } //alert(vars.blucart_count); //no galleries associated with profile if ($(#profile_name_div).html() && !vars.mobile){ $(#profile_name_div).html(vars.profile_name); //bluSetLoginBtn(); } else { //bluSetLoginBtn(); } if (gal_count 0){ //fade out gallery button //$(#btn_div + vars.proof_btn_no).data(show, false); //$(#btn_div + vars.proof_btn_no).fadeOut(0); //position_menu(); //direct to home page //handle single gallery } else if (gal_count 1){ //show gallery btn //$(#btn_div + vars.proof_btn_no).data(show, true); //$(#btn_div + vars.proof_btn_no).css({ // display: none, // visibility: visible //}); //$(#btn_div + vars.proof_btn_no).fadeIn(0); //position_menu(); //alert(active_sec + + type); //open gallery //if (active_sec ! galleries && active_sec ! proof_gallery && active_sec ! fav_gallery && active_sec ! proof && active_sec ! profile && active_sec ! cart && type ! init){ //} //handle multiple galleries } else if (gal_count > 1){ } }); //check if logged into a proofing gallery } else if (vars.proof_logged){ //$(#btn_div + vars.proof_btn_no).data(show, true); //$(#btn_div + vars.proof_btn_no).css({ // display: none, // visibility: visible //}); //$(#btn_div + vars.proof_btn_no).fadeIn(0); //position_menu(); if (type init && active_sec proof_gallery){ $.address.path(menu_array1.rel); } //check if not logged } else { //hide gallery button //$(#btn_div + vars.proof_btn_no).data(show, false); //$(#btn_div + vars.proof_btn_no).fadeOut(0); //position_menu(); //check if in gallery and redirect to home //if (active_sec proof_gallery || active_sec profile || active_sec cart){ if (active_sec proof_gallery || active_sec profile || active_sec cart || (active_sec && type proof)){ $.address.path(menu_array1.rel); } if(!vars.mobile) { $(#profile_name_div).html(); } //bluSetLoginBtn(); } }; function bluShowProfile(type){ bluHideProfileMenu(); vars.profile_page_type type; $.address.path(profile); } function debug(string){ var debug_str string; $(body).append(div styleposition:absolute; z-index:100000> + debug_str + /div>br>); } // //CART FUNCTIONS function bluDisplayCartInfo(n, src){ if (!vars.profile_logged && false){ bluShowSignIn(); } else { //open if (!$(# + src + n + cart_btn).data(opened)){ if (src thumb){ $(# + src + n + cart_info_div).css({ top: - + vars.thumb_dist/2 + px, left: - + (vars.thumb_dist/2 + 1) + px }); } else { $(#img_close_btn + n).fadeIn(fast); if ($(# + src + n + cart_btn).length){ $(# + src + n + cart_btn).fadeOut(0); } } // alert(left: - + (vars.thumb_dist - 1) + px); //set z-index for (var i1; iimg_count; i++){ if (i n){ $(# + src + i + div).css({ z-index: (12000) }); } else { $(# + src + i + div).css({ z-index: (i + 11000) }); if ($(#img_close_btn + i).length){ $(#img_close_btn + i).fadeOut(0); } if ($(# + src + i + cart_btn).length){ $(# + src + i + cart_btn).data(opened, false); $(# + src + i + cart_btn).fadeIn(fast); } $(# + src + i + cart_info_div).fadeOut(0); } } $(# + src + n + cart_btn).data(opened, true); if (vars.blucart_count > 0){ $(# + src + _checkout_btn + n).fadeIn(0); } else { $(# + src + _checkout_btn + n).fadeOut(0); } $(# + src + n + cart_info_div).fadeIn(fast); vars.total_gal_h $(#page_div).height() + content_padding * 2 + 50 + 55; if (!vars.mobile && $(# + src + n + div).length){ //alert($(#thumb + n + cart_form).height()); if (($(# + src + n + div).position().top + $(# + src + n + div).height()) > (vars.total_gal_h - $(#thumb + n + cart_form).height() - 50)){ //vars.total_gal_h + $(#thumb + n + cart_form).height() + 50; } } else { $(#page_div).css({ padding-bottom: 450px }); } //close } else { $(# + src + n + cart_btn).data(opened, false); $(# + src + n + cart_info_div).fadeOut(fast); if ($(#img_close_btn + n).length){ $(#img_close_btn + n).fadeOut(0); } if ($(# + src + n + cart_btn).length){ $(# + src + n + cart_btn).fadeIn(fast); } if (!vars.mobile){ vars.total_gal_h $(#page_div).height() + content_padding * 2 + 50 + 15; } else { $(#page_div).css({ padding-bottom: (vars.footer_h + content_padding) + px }); } } position_footer(); } } //add image to cart function bluCartAddItem(num, img_id, src){ if (!vars.profile_logged){ bluShowSignIn(); } else { //set status msg var post_array $(# + src + num + cart_form).serialize(); //alert(post_array); $(# + src + _msg + num).html(Processing...); var form_values post_array.split(&); //var print_opt_id 0; //var download_opt_id 0; //validate qty var qty_valid true; var opt_selected false; var opt_id; var var_array; var download_id 0; var download_id2 0; for (var i0; i form_values.length; i++){ //check if qty entered if ( form_valuesi.indexOf(print_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1;//.replace( /^\D+/g, ); if (!bluCartCheckInteger($(# + src + img_id + _ + opt_id + cart_opt_qty).val())){ qty_valid false; //break; } else { //update thumb options if (src img){ $(#thumb + img_id + _ + opt_id + cart_opt_qty).val($(# + src + img_id + _ + opt_id + cart_opt_qty).val()); } } } //check if any option selected if ( form_valuesi.indexOf(print_opt_check) ! -1 || form_valuesi.indexOf(download_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1; if ($(# + src + img_id + _ + opt_id + cart_opt_check).attr(checked) checked && $(# + src + img_id + _ + opt_id + cart_opt_qty).val() > 0 ){ opt_selected true; if (form_valuesi.indexOf(download_opt_check) ! -1){ if (download_id 0){ download_id opt_id; } else { download_id2 opt_id; } } if (src img){ $(#thumb + img_id + _ + opt_id + cart_opt_check).attr(checked, checked); } //break; } } /*if ( form_valuesi.indexOf(print_opt_radio) ! -1 ){ print_opt_id form_valuesi.replace( /^\D+/g, ); } if ( form_valuesi.indexOf(download_option) ! -1 ){ download_opt_id form_valuesi.replace( /^\D+/g, ); }*/ } //var qty_valid bluCartCheckInteger($(#thumb + num + _ + print_opt_num + cart_opt_qty).val()); //var opt_num form_values0.replace( /^\D+/g, ); //alert(form_values0); //alert(qty_valid + + opt_selected); if (qty_valid && opt_selected){ $.post(blu_front/ANJA/blu_source/cart_add_item.php, post_array, function( data ) { //alert(data); var data_values data.split(&); if (data_values0 added){ vars.blucart_count data_values1; var qty 0; for (var i0; i form_values.length; i++){ if ( form_valuesi.indexOf(print_opt_check) ! -1){ var_array form_valuesi.split(); opt_id var_array1; } if ( form_valuesi.indexOf(print_qty) ! -1){ var_array form_valuesi.split(); qty var_array1; } for (var d1; dimage_arraynum.cart_status.length; d++){ if (image_arraynum.cart_statusd.id opt_id){ //image_arraynum.cart_statusd.qty + qty; } } } if (download_id > 0){ $(# + src + img_id + _ + download_id + cart_opt_div).fadeTo(0, 0.5); $(# + src + img_id + _ + download_id + cart_opt_check).attr(disabled, true); //update thumb options if (src img){ $(#thumb + img_id + _ + download_id + cart_opt_div).fadeTo(0, 0.5); $(#thumb + img_id + _ + download_id + cart_opt_check).attr(disabled, true); } } if (download_id2 > 0){ $(# + src + img_id + _ + download_id2 + cart_opt_div).fadeTo(0, 0.3); $(# + src + img_id + _ + download_id2 + cart_opt_check).attr(disabled, true); //update thumb options if (src img){ $(#thumb + img_id + _ + download_id2 + cart_opt_div).fadeTo(0, 0.3); $(#thumb + img_id + _ + download_id2 + cart_opt_check).attr(disabled, true); } } bluCartUpdateOptions(thumb, num, img_id); //show/hide checkout btn if (vars.blucart_count > 0){ $(# + src + _checkout_btn + num).fadeIn(fast); } else { $(# + src + _checkout_btn + num).fadeOut(fast); } $(# + src + _msg + num).html(The option has been added to your cart.); } }); } else { if (!qty_valid){ $(# + src + _msg + num).html(Please enter valid quantity number.); } else if (!opt_selected){ $(# + src + _msg + num).html(Please select an option.); } } //end qty valid } } function bluCartUpdateOptions(src, n, img_id){ var added_count 0; for (var i1; idownload_opt_array.length; i++){ //var download_added false; for (var d1; dimage_arrayn.cart_status.length; d++){ opt_id download_opt_arrayi.id; //alert(image_arrayn.cart_statusd.id + + opt_id + + image_arrayn.cart_statusd.status + + download_opt_arrayi.type); //check if download added or purchased and disable if (image_arrayn.cart_statusd.id opt_id && (image_arrayn.cart_statusd.status 1 || image_arrayn.cart_statusd.status 2) && download_opt_arrayi.type Image){ $(# + src + img_id +_ + opt_id + cart_opt_div).fadeTo(0, 0.5); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(disabled, true); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(checked, checked); added_count++; //break; } else if (image_arrayn.cart_statusd.id opt_id && image_arrayn.cart_statusd.status 1 && download_opt_arrayi.type ! Image){ //alert($(# + src + img_id +_ + opt_id + cart_opt_check).length); $(# + src + img_id +_ + opt_id + cart_opt_check).attr(checked, checked); $(# + src + img_id +_ + opt_id + cart_opt_qty).val(image_arrayn.cart_statusd.qty); added_count++; } } } return added_count; } function bluCartCheckInteger(n){ var intRegex /^\d+$/; //integers var qty_valid true; if(!intRegex.test(n)){ qty_valid false; } return qty_valid; } function bluCartRemoveItem(id){ var post &id + id; $.post(blu_front/ANJA/blu_source/cart_remove_item.php, post, function( data ) { //alert(data); if (data removed){ $(#page).load(blu_front/ANJA/blu_source/cart.php); //var new_sub_price bluCartFormatFloat($(#subtotal_price).html()) - bluCartFormatFloat($(#item_price + id).html()); //$(#subtotal_price).html(bluCartFormatFloat(new_sub_price)); //var new_price bluCartFormatFloat($(#total_price).html()) - bluCartFormatFloat($(#item_price + id).html()); //$(#total_price).html(bluCartFormatFloat(new_price)); // $(#cart_item + id).remove(); } }); } function bluCartRemoveAll(){ var post ; $.post(blu_front/ANJA/blu_source/cart_remove_all.php, post, function( data ) { //alert(data); if (data removed){ $(#page).load(blu_front/ANJA/blu_source/cart.php); } }); } function bluCartDownloadItem(form_id){ $.post(blu_front/ANJA/blu_source/cart_download_item.php, $(# + form_id).serialize(), function( data ) { //alert(data); if (data added){ } }); } function bluCartShowUpdate(item_id, opt_id, img_id, gal_id, gal_type, custom_pricing, item_qty, opt_type){ //list prices var opts_html form iditem_cart_form>; for (var i1; idownload_opt_array.length; i++){ //alert(download_opt_arrayi.gal_id + + gal_id + + download_opt_arrayi.gal_type + + gal_type + + custom_pricing); if( (download_opt_arrayi.gal_id gal_id && download_opt_arrayi.gal_type gal_type && custom_pricing yes) || (custom_pricing ! yes && download_opt_arrayi.gal_id ) ) { //alert(opt_id + + download_opt_arrayi.id); if (opt_id download_opt_arrayi.id){ opts_html + div iditem_ + i + cart_opt_div styleheight:30px; border-bottom:1px solid #ffffff; margin-bottom:10px>; opts_html + div classthumb_price_lbl stylewidth:100%; >; var checked checked; var qty item_qty; /*if (opt_id download_opt_arrayi.id && download_opt_arrayi.type Image){ checked checked; qty item_qty; } */ if(download_opt_arrayi.type ! Image) { opts_html + div stylefloat:left; padding-top:8px; border:0px solid;> + download_opt_arrayi.label + - $ + download_opt_arrayi.price + /div>; opts_html + div stylefloat:right; border:0px solid>; opts_html + span stylecolor:#9ba019; padding-right:5px>QTY:/span>; opts_html + input idprint_qty + download_opt_arrayi.id + nameprint_qty + download_opt_arrayi.id + typetext size4 value + qty + >; opts_html + /div>; opts_html + /div>; } else { opts_html + input idthumb + i + cart_opt_radio namedownload_option typecheckbox value + download_opt_arrayi.id + + checked + >; opts_html + span stylepadding-left:10px> + download_opt_arrayi.label + - $ + download_opt_arrayi.price + /span>; opts_html + /div>; opts_html + div stylefont-size:11px; padding-left:50px> + download_opt_arrayi.w + x + download_opt_arrayi.h + px./div>; } opts_html + /div>; } } } opts_html + div idcart_update_error_msg stylecolor:#9ba019; classthumb_msg>/div>; opts_html + div>input nameitem_id typehidden value + item_id + >/div>; opts_html + div>input nameopt_id typehidden value + opt_id + >/div>; opts_html + div>input nameimg_id typehidden value + img_id + >/div>; opts_html + div>input namegal_id typehidden value + gal_id + >/div>; opts_html + div>input namegal_type typehidden value + gal_type + >/div>; opts_html + div>input nameorig_opt_type typehidden value + opt_type + >/div>; opts_html +/form>; //add btn opts_html + div classthumb_cart_btn onclickbluCartUpdateItem( + item_id + , + opt_id + )>; //thumb_str + img height22 srcblu_front/ANJA/v1site_images/graphics/cart.png alignabsmiddle stylepadding-right:5px; margin-bottom:3px/>; opts_html + UPDATE; opts_html + /div>; $(#edit_pricing_holder).html(opts_html); $(#edit_pricing_bg_div).css({ top: 0, left: 0 }); $(#edit_pricing_bg_div).width(win_w); $(#edit_pricing_bg_div).height($(document).height()); $(#edit_pricing_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#edit_pricing_div).height())/2; if(vars.mobile) { top 40; } $(#edit_pricing_div).css({ left: (win_w - $(#edit_pricing_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#edit_pricing_div).css({ display:none, visibility:visible }); $(#edit_pricing_div).fadeIn(fast); } function bluCartHideUpdate(){ //$(#page).fadeTo(fast, 1); $(#edit_pricing_bg_div).fadeOut(fast); $(#edit_pricing_div).fadeOut(fast); } //add image to cart function bluCartUpdateItem(item_id, opt_id){ if (!vars.profile_logged){ bluShowSignIn(); } else { var qty_valid bluCartCheckInteger($(#print_qty + opt_id).val()); if (qty_valid){ var post_array $(#item_cart_form).serialize(); //alert(post_array); $.post(blu_front/ANJA/blu_source/cart_update_item.php, post_array, function( data ) { //alert(data); var data_values data.split(&); if (data updated){ //$.address.path(cart); location.reload(); } else { $(#cart_update_error_msg).html(data); } }); } else { $(#cart_update_error_msg).html(Please enter valid quantity number.); } } } function bluCartSetQuantity(img_id, opt_id, src){ //alert($(# + check_id).attr(checked)); //$(inputname*print_qty).val(0); if (src ! all){ //add single image var checkbox $(# + src + img_id + _ + opt_id + cart_opt_check); var qty_box $(# + src + img_id + _ + opt_id + cart_opt_qty); } else { //add all var checkbox $(# + src + opt_id + cart_opt_check); var qty_box $(#print_qty + opt_id); } //alert(checkbox); if (checkbox.attr(checked) checked){ if (qty_box.val() 0 || qty_box.val() ){ qty_box.val(1); } } else { qty_box.val(0); } } function bluCartDisplayCaption(state, btn_id, txt){ //$(# + btn_id).append(div classcart_btn_caption id + btn_id + caption> + txt + /div>); if (state){ $(# + btn_id + caption).css({ top: $(# + btn_id).position().top - 30, left: $(# + btn_id).position().left - $(# + btn_id + caption).width() }); //$(# + btn_id + caption).fadeIn(); } else { //$(# + btn_id + caption).fadeOut(); } } function bluCartUpdateCount(){ } function bluUpdateFavorites(n, img_id, gal_id, src, gtype){ if (!vars.profile_logged){ bluShowSignIn(); } else { var post_array img_id + img_id + &gal_id + gal_id + &action + image_arrayn.fav_action + &gal_type + gtype; $.post(blu_front/ANJA/blu_source/favorite_update.php, post_array, function( data ) { if (data added){ image_arrayn.fav_status 1; image_arrayn.fav_action remove; if (src thumb){ $(#thumb + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/fav_added-g.png); } else { $(#img + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/fav_added-g.png); } } else if (data removed){ image_arrayn.fav_status 0; image_arrayn.fav_action add; if (src thumb){ $(#thumb + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/favorites-g.png); } else { $(#img + n + add_fav_btn).attr(src, blu_front/ANJA/v1site_images/graphics/favorites-g.png); } } else { //alert(data); } }); } } function bluSetProfilesForm(){ var post ; $.post(blu_front/ANJA/blu_source/profile_get_info.php, post, function( data ) { if (data ! ){ var data_array data.split(&); var p data_array0; var q data_array1; var a data_array2; var news data_array3; $(#profile_pass1).val(p); $(#profile_pass2).val(p); //$(#profile_sa).val(p); $(#profile_news + news).attr(checked, true); } }); } function bluUpdateProfile(url, form_id){ $(#profile_form_fields).fadeTo(fast, 0.5); $.post(blu_front/ANJA/blu_source/ + url + .php, $(# + form_id).serialize(), function( data ) { if (data success){ $(#profile_error_msg).html(); $(#profile_form_fields).fadeTo(fast, 1); if (vars.cart_need_phone){ vars.cart_need_phone false; $.address.path(cart); if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } if ($(#logo_div).length){ $(#logo_div).fadeIn(fast); } if ($(#footer_div).length){ $(#footer_div).fadeIn(fast); } } } else { $(#profile_form_fields).fadeTo(fast, 1); $(#profile_error_msg).html(data); } }); } function bluShowHideProfileSettings(){ if ($(#profile_settings_btn).data(opened)){ $(#profile_settings_btn).data(opened, false); //$(#profile_settings_btn).html(SHOW / UPDATE PROFILE SETTINGS); $(#profile_form_fields).fadeOut(fast); $(#profile_bg_div).fadeOut(fast); if ($(#social_buttons).length){ $(#social_buttons).fadeIn(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeIn(fast); } if ($(#logo_div).length){ $(#logo_div).fadeIn(fast); } if ($(#footer_div).length){ $(#footer_div).fadeIn(fast); } } else { if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } if ($(#logo_div).length){ $(#logo_div).fadeOut(fast); } if ($(#footer_div).length){ $(#footer_div).fadeOut(fast); } $(#profile_bg_div).css({ left: 0, top: 0 }); var form_w $(#profile_form_fields).width(); var form_h $(#profile_form_fields).height(); $(#profile_form_fields).css({ left: ((win_w - form_w) / 2), top: ((win_h - form_h) / 2) }); $(#profile_bg_div).width(win_w); $(#profile_bg_div).height($(document).height()); $(#profile_bg_div).fadeTo(fast, vars.popup_opacity); $(#profile_settings_btn).data(opened, true); //$(#profile_settings_btn).html(Hide); $(#profile_form_fields).css({ visibility:hidden, display:block }); position_purchases(); $(#profile_form_fields).css({ visibility:visible, display:none }); $(#profile_form_fields).fadeIn(fast); } } function bluShowHideMasterLogin(){ var opened $(#popup_login_form_div).data(opened); //alert(opened); if ( opened true){ $(#popup_login_form_div).fadeOut(fast); $(#popup_login_bg_div).fadeOut(fast); $(#popup_login_form_div).data(opened, false); } else { if (!vars.proof_logged){ $(#popup_login_bg_div).css({ top: 0 }); $(#popup_login_bg_div).width(win_w); $(#popup_login_bg_div).height($(document).height()); $(#popup_login_bg_div).fadeTo(fast, vars.popup_opacity); $(#popup_login_form_div).css({ visibility:hidden, display:block }); var left ((win_w - $(#popup_login_form_div).width()) / 2); var top (win_h - $(#popup_login_form_div).height()) / 2 ; //vars.interface_ypos + 40;//(($(document).height() - $(#popup_login_form_div).height()) / 2); if(vars.mobile) { top 0; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#popup_login_form_div).css({ left: left, top: top }); $(#popup_login_form_div).css({ visibility:visible, display:none }); $(#popup_login_form_div).fadeIn(fast); $(#popup_login_form_div).data(opened, true); } } } function bluShowHideContact(){ var opened $(#popup_contact_div).data(opened); //alert(opened); if ( opened true){ $(#popup_contact_div).fadeOut(fast, function(){ $(#contact_content_div).empty(); }); $(#popup_contact_bg_div).fadeOut(fast); $(#popup_contact_div).data(opened, false); } else { $(#contact_content_div).load(blu_front/ANJA//blu_source/contact.php?active_btn5&sec_id376, function(){ $(#popup_contact_div).css({ visibility:hidden, display:block }); var left (win_w - $(#popup_contact_div).width()) / 2; var top (win_h - $(#popup_contact_div).height()) / 2 ; if (top 20){ top 20; } if(vars.mobile) { top 40; left 0; /*var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40;*/ } $(#popup_contact_div).css({ left: left, top: top }); if (!$(#popup_contact_div).data(loaded)){ $(#popup_contact_div).data(loaded, true); //$(#contact_hline1).width($(#contact_content_div).width() - 40); //var border_x1 40; //var border_x2 $(#contact_content_div).width(); //var border_y 1; //var contact_hline1 Raphael(contact_hline1); //contact_hline1.clear(); //contact_hline1.drawnLine(border_x1, border_y, border_x2, border_y, 1).attr(stroke,#c6c6c6); } $(#popup_contact_div).css({ visibility:visible, display:none }); $(#popup_contact_div).fadeIn(fast); $(#popup_contact_div).data(opened, true); }); $(#popup_contact_bg_div).css({ top: 0 }); $(#popup_contact_bg_div).width(win_w); $(#popup_contact_bg_div).height($(document).height()); $(#popup_contact_bg_div).fadeTo(fast, vars.popup_opacity); } } function bluShowLoader(top) { var loader_left (win_w)/2; $(#loader_div).css({ visibility: visible, display: none, top: top, left: loader_left, position:absolute }); vars.spinner null; $(#loader_div).empty(); var opts { color: #666666, // #rgb or #rrggbb or array of colors lines: 100, // The number of lines to draw length: 2, // The length of each line width: 1, // The line thickness radius: 8, // The radius of the inner circle corners: 0, // Corner roundness (0..1) rotate: 0, // The rotation offset direction: 1, // 1: clockwise, -1: counterclockwise speed: 1, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(loader_div); vars.spinner new Spinner(opts).spin(target); $(#loader_div).fadeTo(.5, .7); } function bluShowGalLoader() { $(#gal_loader_div).css({ visibility: visible, display: none, padding-left:50% }); vars.gal_spinner null; $(#gal_loader_div).empty(); var opts { color: #666666, // #rgb or #rrggbb or array of colors lines: 100, // The number of lines to draw length: 2, // The length of each line width: 1, // The line thickness radius: 8, // The radius of the inner circle corners: 0, // Corner roundness (0..1) rotate: 0, // The rotation offset direction: 1, // 1: clockwise, -1: counterclockwise speed: 1, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(gal_loader_div); vars.gal_spinner new Spinner(opts).spin(target); $(#gal_loader_div).fadeTo(.5, .7); } function bluHideLoader() { if (vars.spinner instanceof Spinner){ vars.spinner.stop(); } $(#loader_div).css({ display:none, top:0 }); } function bluHideGalLoader() { if (vars.gal_spinner instanceof Spinner){ vars.gal_spinner.stop(); } $(#gal_loader_div).css({ display:none //top:0 }); } function bluCartFormatFloat(str){ return parseFloat(str).toFixed(2); } //$(window).scroll(function (event) { /* var opacity $(#back_to_top).css(opacity); if ($(#site_div).height() getDocHeight()){ $(#site_div).height(win_h); $(#site_div).height(getDocHeight()); } if($(window).scrollTop() > 0) { //debug(opacity); if($(#back_to_top).data(opened) false) { $(#back_to_top).css({ display: none, visibility: visible }); $(#back_to_top).data(opened, true); $(#back_to_top).fadeIn(); } } else { $(#back_to_top).data(opened, false); $(#back_to_top).fadeOut(); } */ //}); function clearCanvas(elem){ elem.clear(); } function bluShowZipProgress(id){ if ($(#social_buttons).length){ $(#social_buttons).fadeOut(fast); } if ($(#shop_buttons).length){ $(#shop_buttons).fadeOut(fast); } $(#zip_progress_bg_div).css({ top: 0, left: 0 }); $(#zip_progress_bg_div).width(win_w); $(#zip_progress_bg_div).height($(document).height()); $(#zip_progress_bg_div).fadeTo(fast, vars.popup_opacity); var top (win_h - $(#zip_progress_div).height())/2; if(vars.mobile) { top 40; var doc document.documentElement, body document.body; var left (doc && doc.scrollLeft || body && body.scrollLeft || 0); var top (doc && doc.scrollTop || body && body.scrollTop || 0) + 40; } $(#zip_progress_div).css({ left: (win_w - $(#zip_progress_div).width())/2, top: top }); //$(#page).fadeTo(fast, 0.1); $(#zip_progress_div).css({ display:none, visibility:visible }); $(#zip_progress_div).fadeIn(0); //window.location.href $(# + id).data(href); var dest $(# + id).data(href); if (typeof(dest) ! undefined && dest ! ) { setTimeout(function(){window.location.href dest;}, 1000); } } function bluHideZipProgress(){ $(#zip_progress_div).fadeOut(); $(#zip_progress_bg_div).fadeOut(); } function killHomeTimers() { var home_sec_count vars.home_sec_count; for(var i 1; i home_sec_count; i++) { var img_count $(#home_section + i).data(img_count); if($(#home_section + i).length && img_count > 1) { var timer_id $(#home_section + i).data(timer_id); clearInterval(timer_id); } } }/script>!-- INCLUDE FLASH EMBED SCRIPTS -->/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]