');
}
if (this.obj.thumbNail != null && !this.obj.thumbNail.hasClass("selected")) {
this.obj.thumbNail.toggleClass("selected");
}
if (this.obj.topAdSrc && this.obj.topAdSrc.length > 0) {
try {
updateTop728by90SR(topAd728x90IFrameID, this.obj.topAdSrc, this.obj.isGAM);
} catch (e) {
//this will blow if GAM is not on the page, so imgs will not swap, var topAd728x90IFrameID is defined in GAM, code just breaks,
// check for null would not work since var is just undefined.
//That's why I like compiled code better
}
}
if (this.obj.rightAdSrc && this.obj.rightAdSrc.length > 0) {
try {
updateRight300by250SR(rightAd300x250IFrameID, this.obj.rightAdSrc, this.obj.isGAM)
} catch (e) { }
}
if (this.obj.belowPhotoAdSrc && this.obj.belowPhotoAdSrc.length > 0) {
try {
updateBelowPhoto234by60SR(belowPhotoAd234x60IFrameID, this.obj.belowPhotoAdSrc, this.obj.isGAM)
} catch (e) { }
}
this.obj.swapImage();
this.obj.updateOmniture(data);
}
} else {
this.elem.addClass("hide").removeClass("show");
if (this.menuItem.hasClass("selected")) {
this.menuItem.toggleClass("selected");
}
if (this.obj.thumbNail != null && this.obj.thumbNail.hasClass("selected")) {
this.obj.thumbNail.toggleClass("selected");
}
if (this.obj.tabCss) {
if (this.elem.parent().hasClass(this.obj.tabCss)) {
this.elem.parent().toggleClass(this.obj.tabCss);
}
}
}
if (data.prevTabName && data.nextTabName) {
this.obj.nextButton.innerHTML = data.nextTabName;
this.obj.prevButton.innerHTML = data.prevTabName;
}
} catch (e) { }
};
//Create a new Subject object
spark.util.extend(spark.observers.ConcreteSubject, spark.observers.Subject);
// define a new publishEvent method with which to notify all the Observer of the related data
spark.observers.ConcreteSubject.prototype.publishEvent = function(data) {
data["omniPage"] = this.OmniturePage;
this.notify(data);
};
spark.observers.ConcreteSubject.prototype.notify = function(context) {
for (var i = 0; i this.observers.length - 1) ? 0 : i + 1;
context["prevTabName"] = this.observers[previousIndex].obj.tabName;
context["nextTabName"] = this.observers[nextIndex].obj.tabName;
}
this.observers[i].Update(context);
}
};
}
});
__addToNamespace__('spark.slideshows', {
ObservedSlideShow: function(s) {
this.arr = [];
this.currentIndex = 0;
this.subject = s;
},
__init__: function() {
spark.util.extend(spark.slideshows.ObservedSlideShow, spark.slideshows.SlideShow);
spark.slideshows.ObservedSlideShow.prototype.getSlide = function(data) {
var slide = this.arr[this.currentIndex];
if (data.skipPublish) { return slide; }
data["idx"] = this.currentIndex;
data["omniSection"] = (data.omnivalue) ? data.omnivalue : '';
this.subject.publishEvent(data);
return slide;
};
spark.slideshows.ObservedSlideShow.prototype.getSlideAt = function(idx, omnivalue) {
if (window['isEdit']) {
var answer = confirm(window['confirmationMsg']);
if (answer) {
$j('.edit-profile-save').trigger('editProfSaveDisable');
window['isEdit'] = false;
} else {
return;
}
}
if (idx >= 0 || idx 0) ? this.arr[0] : null;
for (var i = 0; i ' + profileBlockErrorMessages[index];
}
});
}
else {
// success: build the success message. set the appropriate class here for success message
s = '
' + profileBlockSaveSuccess;
}
// place the error message correctly
jQuery('#blockConfirmation').stop(true, true).html(s).fadeIn().delay(2500).fadeOut();
$j('#blockDiv').hide();
}
});
return false;
}
/* ]]> */
-
115513757
-
Single, Man seeking a Woman
-
For A date, Friend, Activity Partner
-
22 years old
-
Roanoke, VA
-
Logged in: more than 60 days ago
-
Last Update: 7/2/2010
I'm a college student. I'm awesome. I like inde rock/hip-hop, and books.
-
(not answered yet)
-
(not answered yet)
-
(not answered yet)
-
(not answered yet)
-
(not answered yet)
-
-
-
-
-
To some degree
-
On High Holidays
-
Non-Smoker
-
On occasion
-
-
-
-
Mixed Ethnic
-
-
-
Some College
-
Student
-
-
-
-
Culturally hookup but not practicing
This user hasn't answered any questions in the Kibitz Corner yet. Want to ask them a question and see their answer? Send an email to start up a conversation!