var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618333&x=491',
		'title': '',
		'imageId': '68618333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618315&x=491',
		'title': '',
		'imageId': '68618315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618318&x=491',
		'title': '',
		'imageId': '68618318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618330&x=491',
		'title': '',
		'imageId': '68618330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618324&x=491',
		'title': '',
		'imageId': '68618324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618327&x=491',
		'title': '',
		'imageId': '68618327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618321&x=491',
		'title': '',
		'imageId': '68618321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618339&x=491',
		'title': '',
		'imageId': '68618339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618367&x=491',
		'title': '',
		'imageId': '68618367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618408&x=491',
		'title': '',
		'imageId': '68618408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618371&x=491',
		'title': '',
		'imageId': '68618371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618381&x=491',
		'title': '',
		'imageId': '68618381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618375&x=491',
		'title': '',
		'imageId': '68618375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618353&x=491',
		'title': '',
		'imageId': '68618353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618399&x=491',
		'title': '',
		'imageId': '68618399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618427&x=491',
		'title': '',
		'imageId': '68618427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618419&x=491',
		'title': '',
		'imageId': '68618419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618363&x=491',
		'title': '',
		'imageId': '68618363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618413&x=491',
		'title': '',
		'imageId': '68618413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618422&x=491',
		'title': '',
		'imageId': '68618422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68618438&x=491',
		'title': '',
		'imageId': '68618438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68705977&x=491',
		'title': '',
		'imageId': '68705977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972891&docid=68705980&x=491',
		'title': '',
		'imageId': '68705980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972891';

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