年底了,天天忙的要命。工作的事情多了,生活上的事情也多了。最近搞了辆2手车来开,我和我们家领导都是新手面司机。拿着这车还真搞不定。路上堵,停车难。要去啥地方都的考虑了又考虑。想想附近砸停车。掂量掂量自己的水平是否能够停的进去。下次自己要买车的时候真的好好考虑考虑了,买车还真不如打车舒服啊。
';
return control;
};
TTGallery.prototype.getImage = function()
{
var image = document.createElement("img");
image.instance = this;
image.src = this.src[this.offset];
image.width = this.width[this.offset];
image.height = this.height[this.offset];
image.onclick = this.showImagePopup2;
image.style.cursor = "pointer";
return image;
};
TTGallery.prototype.getCaption = function()
{
var captionText = this.caption[this.offset];
captionText = captionText.replace(new RegExp("&?", "gi"), "&");
captionText = captionText.replace(new RegExp("<?", "gi"), "");
captionText = captionText.replace(new RegExp(""?", "gi"), """);
captionText = captionText.replace(new RegExp("'?", "gi"), "'");
var caption = document.createElement("div");
caption.style.textAlign = "center";
caption.style.marginTop = "8px";
caption.style.color = "#627e89";
caption.className = "galleryCaption";
caption.appendChild(document.createTextNode(captionText));
return caption;
};
TTGallery.prototype.show = function(offset)
{
if(this.numImages == 0) {
var div = document.createElement("div");
div.style.textAlign = "center";
div.style.color = "#888";
div.style.margin = "10px auto";
div.style.font = "bold 2em/1 Verdana, Sans-serif";
div.innerHTML = "NO IMAGES";
this.container.appendChild(div);
return;
}
if(typeof offset == "undefined")
this.offset = 0;
else
{
if(offset = this.numImages)
this.offset = 0;
else
this.offset = offset;
}
if(this.container.filters)
this.container.filters[0].Apply();
this.container.innerHTML = "";
this.container.appendChild(this.getControl());
this.container.appendChild(this.getImage());
this.container.appendChild(this.getCaption());
if(this.container.filters)
this.container.filters[0].Play();
};
TTGallery.prototype.prev = function()
{
this.show(this.offset-1);
};
TTGallery.prototype.next = function()
{
this.show(this.offset+1);
};
TTGallery.prototype.showImagePopup1 = function()
{
this.showImagePopup();
};
TTGallery.prototype.showImagePopup2 = function()
{
this.instance.showImagePopup();
};
TTGallery.prototype.showImagePopup = function(offset)
{
open_img(this.src[this.offset]);
};var Gallery1621 = new TTGallery("Gallery1621");Gallery1621.appendImage("http://www.grisword.com/tt/attach/1/1386145181.jpg", "", 400, 300);Gallery1621.appendImage("http://www.grisword.com/tt/attach/1/1051552567.jpg", "", 400, 300);Gallery1621.show();
'; return control; }; TTGallery.prototype.getImage = function() { var image = document.createElement("img"); image.instance = this; image.src = this.src[this.offset]; image.width = this.width[this.offset]; image.height = this.height[this.offset]; image.onclick = this.showImagePopup2; image.style.cursor = "pointer"; return image; }; TTGallery.prototype.getCaption = function() { var captionText = this.caption[this.offset]; captionText = captionText.replace(new RegExp("&?", "gi"), "&"); captionText = captionText.replace(new RegExp("<?", "gi"), ""); captionText = captionText.replace(new RegExp(""?", "gi"), """); captionText = captionText.replace(new RegExp("'?", "gi"), "'"); var caption = document.createElement("div"); caption.style.textAlign = "center"; caption.style.marginTop = "8px"; caption.style.color = "#627e89"; caption.className = "galleryCaption"; caption.appendChild(document.createTextNode(captionText)); return caption; }; TTGallery.prototype.show = function(offset) { if(this.numImages == 0) { var div = document.createElement("div"); div.style.textAlign = "center"; div.style.color = "#888"; div.style.margin = "10px auto"; div.style.font = "bold 2em/1 Verdana, Sans-serif"; div.innerHTML = "NO IMAGES"; this.container.appendChild(div); return; } if(typeof offset == "undefined") this.offset = 0; else { if(offset = this.numImages) this.offset = 0; else this.offset = offset; } if(this.container.filters) this.container.filters[0].Apply(); this.container.innerHTML = ""; this.container.appendChild(this.getControl()); this.container.appendChild(this.getImage()); this.container.appendChild(this.getCaption()); if(this.container.filters) this.container.filters[0].Play(); }; TTGallery.prototype.prev = function() { this.show(this.offset-1); }; TTGallery.prototype.next = function() { this.show(this.offset+1); }; TTGallery.prototype.showImagePopup1 = function() { this.showImagePopup(); }; TTGallery.prototype.showImagePopup2 = function() { this.instance.showImagePopup(); }; TTGallery.prototype.showImagePopup = function(offset) { open_img(this.src[this.offset]); };var Gallery1621 = new TTGallery("Gallery1621");Gallery1621.appendImage("http://www.grisword.com/tt/attach/1/1386145181.jpg", "", 400, 300);Gallery1621.appendImage("http://www.grisword.com/tt/attach/1/1051552567.jpg", "", 400, 300);Gallery1621.show();