var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530538&x=3046',
		'title': '',
		'imageId': '68530538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530526&x=3046',
		'title': '',
		'imageId': '68530526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530543&x=3046',
		'title': '',
		'imageId': '68530543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530516&x=3046',
		'title': '',
		'imageId': '68530516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530492&x=3046',
		'title': '',
		'imageId': '68530492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530515&x=3046',
		'title': '',
		'imageId': '68530515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530527&x=3046',
		'title': '',
		'imageId': '68530527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530498&x=3046',
		'title': '',
		'imageId': '68530498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530499&x=3046',
		'title': '',
		'imageId': '68530499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530495&x=3046',
		'title': '',
		'imageId': '68530495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530511&x=3046',
		'title': '',
		'imageId': '68530511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530510&x=3046',
		'title': '',
		'imageId': '68530510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530512&x=3046',
		'title': '',
		'imageId': '68530512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530509&x=3046',
		'title': '',
		'imageId': '68530509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530507&x=3046',
		'title': '',
		'imageId': '68530507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530532&x=3046',
		'title': '',
		'imageId': '68530532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530531&x=3046',
		'title': '',
		'imageId': '68530531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530530&x=3046',
		'title': '',
		'imageId': '68530530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530544&x=3046',
		'title': '',
		'imageId': '68530544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530534&x=3046',
		'title': '',
		'imageId': '68530534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530508&x=3046',
		'title': '',
		'imageId': '68530508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530504&x=3046',
		'title': '',
		'imageId': '68530504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530505&x=3046',
		'title': '',
		'imageId': '68530505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530523&x=3046',
		'title': '',
		'imageId': '68530523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530521&x=3046',
		'title': '',
		'imageId': '68530521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530537&x=3046',
		'title': '',
		'imageId': '68530537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530541&x=3046',
		'title': '',
		'imageId': '68530541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530536&x=3046',
		'title': '',
		'imageId': '68530536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530520&x=3046',
		'title': '',
		'imageId': '68530520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530491&x=3046',
		'title': '',
		'imageId': '68530491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530496&x=3046',
		'title': '',
		'imageId': '68530496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530497&x=3046',
		'title': '',
		'imageId': '68530497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530513&x=3046',
		'title': '',
		'imageId': '68530513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530514&x=3046',
		'title': '',
		'imageId': '68530514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530517&x=3046',
		'title': '',
		'imageId': '68530517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530529&x=3046',
		'title': '',
		'imageId': '68530529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530525&x=3046',
		'title': '',
		'imageId': '68530525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530524&x=3046',
		'title': '',
		'imageId': '68530524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530494&x=3046',
		'title': '',
		'imageId': '68530494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530493&x=3046',
		'title': '',
		'imageId': '68530493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530506&x=3046',
		'title': '',
		'imageId': '68530506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530503&x=3046',
		'title': '',
		'imageId': '68530503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530501&x=3046',
		'title': '',
		'imageId': '68530501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530500&x=3046',
		'title': '',
		'imageId': '68530500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530522&x=3046',
		'title': '',
		'imageId': '68530522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530535&x=3046',
		'title': '',
		'imageId': '68530535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530519&x=3046',
		'title': '',
		'imageId': '68530519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530518&x=3046',
		'title': '',
		'imageId': '68530518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530502&x=3046',
		'title': '',
		'imageId': '68530502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530540&x=3046',
		'title': '',
		'imageId': '68530540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530542&x=3046',
		'title': '',
		'imageId': '68530542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947650&docid=68530539&x=3046',
		'title': '',
		'imageId': '68530539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947650';

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";
	})
}
