var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495159&x=50',
		'title': '',
		'imageId': '68495159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495162&x=50',
		'title': '',
		'imageId': '68495162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495169&x=50',
		'title': '',
		'imageId': '68495169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495168&x=50',
		'title': '',
		'imageId': '68495168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495161&x=50',
		'title': '',
		'imageId': '68495161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495163&x=50',
		'title': '',
		'imageId': '68495163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495164&x=50',
		'title': '',
		'imageId': '68495164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495157&x=50',
		'title': '',
		'imageId': '68495157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495172&x=50',
		'title': '',
		'imageId': '68495172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495177&x=50',
		'title': '',
		'imageId': '68495177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495166&x=50',
		'title': '',
		'imageId': '68495166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495167&x=50',
		'title': '',
		'imageId': '68495167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495174&x=50',
		'title': '',
		'imageId': '68495174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495175&x=50',
		'title': '',
		'imageId': '68495175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495171&x=50',
		'title': '',
		'imageId': '68495171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495170&x=50',
		'title': '',
		'imageId': '68495170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495173&x=50',
		'title': '',
		'imageId': '68495173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495160&x=50',
		'title': '',
		'imageId': '68495160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495158&x=50',
		'title': '',
		'imageId': '68495158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495176&x=50',
		'title': '',
		'imageId': '68495176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495165&x=50',
		'title': '',
		'imageId': '68495165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946500&docid=68495328&x=50',
		'title': '',
		'imageId': '68495328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946500';

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