var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625509&x=4541',
		'title': '',
		'imageId': '68625509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625502&x=4541',
		'title': '',
		'imageId': '68625502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625503&x=4541',
		'title': '',
		'imageId': '68625503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625498&x=4541',
		'title': '',
		'imageId': '68625498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625516&x=4541',
		'title': '',
		'imageId': '68625516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625501&x=4541',
		'title': '',
		'imageId': '68625501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625536&x=4541',
		'title': '',
		'imageId': '68625536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625521&x=4541',
		'title': '',
		'imageId': '68625521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625534&x=4541',
		'title': '',
		'imageId': '68625534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625533&x=4541',
		'title': '',
		'imageId': '68625533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625535&x=4541',
		'title': '',
		'imageId': '68625535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625508&x=4541',
		'title': '',
		'imageId': '68625508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625532&x=4541',
		'title': '',
		'imageId': '68625532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625510&x=4541',
		'title': '',
		'imageId': '68625510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625511&x=4541',
		'title': '',
		'imageId': '68625511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625520&x=4541',
		'title': '',
		'imageId': '68625520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625524&x=4541',
		'title': '',
		'imageId': '68625524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625525&x=4541',
		'title': '',
		'imageId': '68625525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625512&x=4541',
		'title': '',
		'imageId': '68625512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625500&x=4541',
		'title': '',
		'imageId': '68625500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68625522&x=4541',
		'title': '',
		'imageId': '68625522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68782097&x=4541',
		'title': '',
		'imageId': '68782097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68782096&x=4541',
		'title': '',
		'imageId': '68782096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951714&docid=68782095&x=4541',
		'title': '',
		'imageId': '68782095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951714';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
