var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798068&x=1223',
		'title': '',
		'imageId': '70798068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798070&x=1223',
		'title': '',
		'imageId': '70798070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798052&x=1223',
		'title': '',
		'imageId': '70798052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798054&x=1223',
		'title': '',
		'imageId': '70798054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798055&x=1223',
		'title': '',
		'imageId': '70798055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798053&x=1223',
		'title': '',
		'imageId': '70798053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798061&x=1223',
		'title': '',
		'imageId': '70798061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798063&x=1223',
		'title': '',
		'imageId': '70798063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798064&x=1223',
		'title': '',
		'imageId': '70798064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798065&x=1223',
		'title': '',
		'imageId': '70798065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798066&x=1223',
		'title': '',
		'imageId': '70798066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798062&x=1223',
		'title': '',
		'imageId': '70798062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798057&x=1223',
		'title': '',
		'imageId': '70798057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798058&x=1223',
		'title': '',
		'imageId': '70798058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798056&x=1223',
		'title': '',
		'imageId': '70798056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798059&x=1223',
		'title': '',
		'imageId': '70798059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798060&x=1223',
		'title': '',
		'imageId': '70798060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798051&x=1223',
		'title': '',
		'imageId': '70798051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042595&docid=70798067&x=1223',
		'title': '',
		'imageId': '70798067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042595';

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