.ph_mode_link {margin-top:-4px;}
a.ph_tool_link, a.ph_tool_link_left {margin-top:-5px;}
var iframeIdsInYUIPopups = ["popupIframe","picList","uploadFrame","emailFriendsPopupIframe", "_yuiResizeMonitor"];
function openPiczoProsPopup() {
h = 580;
w = 880;
currentDate = new Date();
piczoProsPopup = window.open ("http://info.piczo.com/piczopros/fr/prosMain.asp" +
"?r=" + currentDate.getTime(),
"piczoProsPopup" + currentDate.getTime(),
"toolbar=no,scrollbars=yes,location=no,resizable=yes,width=" + w + ",height=" + h + "," +
"top=" + ((screen.height-h)/2) + ",left=" + ((screen.width-w)/2));
if (piczoProsPopup != null)
piczoProsPopup.focus();
}
function openHelpPopup () {
h=500;
w=780;
currentDate = new Date();
helpPopup = window.open ("http://cdnimg.piczo.com/static/FAQ/piczo_FAQ_fr.html", "HelpPopup",
"toolbar=no,scrollbars=yes,location=no,status=no,resizable=yes,width=" + w + ",height=" + h + "," +
"top=" + ((screen.height-h)/2) + ",left=" + ((screen.width - (w + 12))/2));
if (helpPopup != null)
helpPopup.focus();
}
YAHOO.namespace("piczo");
var originalEmbedWmodes = [];
var originalObjectWmodes = [];
function hideElement(elementId) {
var element =document.getElementById(elementId);
if (element != null)
element.style.visibility="hidden";
}
function hideAds() {
var embeds = document.getElementsByTagName("embed");
for (var i = 0; i < embeds.length; i++) {
embeds[i].style.visiblity="hidden";
embeds[i].parentNode.style.visiblity="hidden";
if (embeds[i].attributes != undefined) {
if (embeds[i].getAttribute("wmode") != undefined) {
originalEmbedWmodes[i] = embeds[i].getAttribute("wmode");
}
embeds[i].setAttribute("wmode", "opaque");
}
}
var objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++) {
objects[i].parentNode.style.visibility="hidden";
if (objects[i].wmode != undefined) {
originalObjectWmodes[i] = objects[i].wmode;
objects[i].wmode = "opaque";
}
}
//hide non-login popup iframes
var iframes = document.getElementsByTagName("iframe");
for (var i = 0; i < iframes.length; i++) {
var hiding = true;
for (var j = 0; j < iframeIdsInYUIPopups.length && hiding; j++) {
if (iframes[i].id == iframeIdsInYUIPopups[j]) {
hiding = false;
}
}
if (hiding) {
iframes[i].style.visibility = "hidden";
}
}
}
function showAds(exceptionId) {
var embeds = document.getElementsByTagName("embed");
for (var i = 0; i < embeds.length; i++) {
embeds[i].style.visiblity="visible";
embeds[i].parentNode.style.visiblity="visible";
if (embeds[i].attributes != undefined && originalEmbedWmodes[i] != null) {
embeds[i].setAttribute("wmode", originalEmbedWmodes[i]);
}
}
var objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++) {
objects[i].parentNode.style.visibility="visible";
if (objects[i].wmode != undefined) {
objects[i].wmode = originalObjectWmodes[i];
}
}
var iframes = document.getElementsByTagName("iframe");
for (var i = 0; i < iframes.length; i++) {
var showing = true;
for (var j = 0; j < iframeIdsInYUIPopups.length && showing; j++) {
if (iframes[i].id == iframeIdsInYUIPopups[j]) {
showing = false;
}
}
if (exceptionId != null && iframes[i].parentNode.id == exceptionId) {
showing = false;
}
if (showing) {
iframes[i].style.visibility = "visible";
}
}
}
function showOverlayElement(event, overlay)
{
hideAds();
overlay.element.style.display="block";
overlay.show();
}
function hideOverlayElement(event, overlay) {
showAds();
overlay.element.style.display="none";
overlay.hide();
}
function openLoginDiv (e, lps) {
if (lps == null)
lps = location.protocol+"//"+location.host+location.pathname;
var popupIframe = document.getElementById("popupIframe");
popupIframe.src="http://pic2.piczo.com/go/loginiframe?showClose=false&recogMode=false&cr=2&destAction=loginPosts&redirect=true&ispopup=y" +
"&lps="+lps;
showOverlayElement(e, YAHOO.piczo.loginOverlay);
}
YAHOO.piczo.loginOverlay = new YAHOO.widget.Panel("loginOverlay", {width: "325px", fixedcenter:true, close:false, draggable:false, modal:true, visible:false , zIndex: 2147483647 } );
var popupLoginDiv = document.getElementById("popupIframeDiv");
var popupLoginHeaderDiv = document.getElementById("popupLoginHeaderDiv");
YAHOO.piczo.loginOverlay.setHeader(popupLoginHeaderDiv.innerHTML);
YAHOO.piczo.loginOverlay.setBody(popupLoginDiv.innerHTML);
popupLoginDiv.parentNode.removeChild(popupLoginDiv); //need to remove so we don't have duplicate id, form elements in the document
popupLoginHeaderDiv.parentNode.removeChild(popupLoginHeaderDiv);
YAHOO.piczo.loginOverlay.render(document.body);
YAHOO.util.Event.addListener("popupLoginClose", "click", hideOverlayElement, YAHOO.piczo.loginOverlay, true);
X INSCRIPTION
.btnGo {
background:#999999;
border:1px solid black;
color:#ffffff;
padding-bottom:2px;
margin-left:5px;
}
.btnGo:hover {
background-color:#069aff;
}
#rbcFriendListMain
{
display:block;
width: 232px;
height:240px;
overflow:auto;
padding-top:10px;
}
#rbcFriendList{
color:rgb(70,153,200);
display: none;
position: absolute;
left: 100px;
top:18px;
padding:5px;
clear:both;
z-index: 10000001;
background: url(http://cdnimg.piczo.com/images/menu/60p_white.png);
white-space: nowrap;
}
#rbcFriendList div
{
font-weight:bold 9px Tahoma;
}
#rbcFriendList a{
display:block;
float:left;
margin:5px;
border:2px solid white;
}
#rbcFriendList div a:hover {
border:2px solid #069aff;
}
#rbcFriendList img {
border:none;
width:50px;
height:50px;
}
#rbcFriendListMore{
border:0px;
}
#rbcPageListMain
{
background: url(http://cdnimg.piczo.com/images/menu/60p_white.png);
display:block;
width:200px;
overflow-x:hidden;
overflow-y:auto;
}
#rbcPageListMore{
border:0px;
}
#rbcPageList {
color:rgb(70,153,200);
display: none;
position: absolute;
margin-left: 120px;
top:18px;
clear:both;
z-index: 10000001;
padding:0px 10px 10px 10px;
}
#rbcPageList a {
display:block;
height:16px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:black;
padding:2px;
border:1px solid #999999;
border-top:none;
text-decoration:none;
padding-left:5px;
padding-bottom:1px;
white-space:nowrap;
font-weight:bold;
}
#rbcPageList a:visited {
color:#333333;
font-weight:normal;
}
#rbcPageList a:hover {
color:#069aff;
}
#rbcPageList a.selected {
color:#069aff;
}
#rbcPageListMain, #rbcFriendList
{
background: #FFF;
}
function messageMeIsAuth() {
location.href = "http://pic2.piczo.com/go/sendmessage?recipientUserId=3409776&recipientCluster=2&recipientWebsiteName=islam22&recipientAccessKey=614168";
}
function messageMe(e) {
openLoginDiv(e, "/go/sendmessage?"+escape("recipientUserId=3409776&recipientCluster=2&recipientWebsiteName=islam22&recipientAccessKey=614168"));
}
function inviteFriendIsAuth (friendWebsiteName) {
h = 370;
w = 556;
currentDate = new Date();
inviteFriendPopup = window.open ("http://pic2.piczo.com/go/invitefriend?sv=y&vmpname=" +
friendWebsiteName + "&r=" + currentDate.getTime(), "InviteFriendPopup",
"toolbar=no,scrollbars=no,location=no,resizable=yes,width=" + w + ",height=" + h + "," +
"top=" + ((screen.height-h)/2) + ",left=" + ((screen.width-w)/2));
if (inviteFriendPopup != null)
inviteFriendPopup.focus();
}
function inviteFriend (e, friendWebsiteName) {
var qs = location.search;
var newqs;
if (qs.indexOf("loadAction") > -1)
newqs = escape(qs);
else {
if (qs.indexOf("?") < 0)
newqs=escape("?");
else
newqs= escape(qs)+escape("&");
newqs+= escape("loadAction=inviteFriendIsAuth('"+friendWebsiteName+"')");
}
openLoginDiv (e, location.protocol+"//"+location.host+location.pathname+newqs);
}
function addTrackingVars(event, aTag) {
http://aTag.href+="&nsrc=vmp_pl&proid=115";
document·cookie = "nsrc=vmp_pl; path=/; domain=.piczo.com";
}
var pageList=
{
list: document.getElementById("rbcPageListMain"),
numPagesSoFar:0,
processing:false,
add: function(items){
var displayBigPagesList = this.numPagesSoFar > 0 && items.length > 0;
if (displayBigPagesList) {
this.list.style.width='750px';
this.list.style.height='500px';
}
for(i=0; i
pageLoadedTrackingPixel.src = "http://pic2.piczo.com/go/trackpageloaded?mode=vmp&images=8&rendered=1201778899541";