var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527694&x=4011',
		'title': '',
		'imageId': '68527694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527695&x=4011',
		'title': '',
		'imageId': '68527695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527696&x=4011',
		'title': '',
		'imageId': '68527696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527698&x=4011',
		'title': '',
		'imageId': '68527698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527699&x=4011',
		'title': '',
		'imageId': '68527699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527697&x=4011',
		'title': '',
		'imageId': '68527697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527701&x=4011',
		'title': '',
		'imageId': '68527701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527707&x=4011',
		'title': '',
		'imageId': '68527707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527705&x=4011',
		'title': '',
		'imageId': '68527705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527703&x=4011',
		'title': '',
		'imageId': '68527703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527706&x=4011',
		'title': '',
		'imageId': '68527706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527700&x=4011',
		'title': '',
		'imageId': '68527700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527702&x=4011',
		'title': '',
		'imageId': '68527702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527708&x=4011',
		'title': '',
		'imageId': '68527708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527713&x=4011',
		'title': '',
		'imageId': '68527713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527704&x=4011',
		'title': '',
		'imageId': '68527704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527709&x=4011',
		'title': '',
		'imageId': '68527709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527715&x=4011',
		'title': '',
		'imageId': '68527715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527712&x=4011',
		'title': '',
		'imageId': '68527712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527714&x=4011',
		'title': '',
		'imageId': '68527714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527711&x=4011',
		'title': '',
		'imageId': '68527711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527716&x=4011',
		'title': '',
		'imageId': '68527716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947500&docid=68527710&x=4011',
		'title': '',
		'imageId': '68527710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947500';

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