var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993803&x=3853',
		'title': '',
		'imageId': '67993803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993789&x=3853',
		'title': '',
		'imageId': '67993789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993807&x=3853',
		'title': '',
		'imageId': '67993807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993794&x=3853',
		'title': '',
		'imageId': '67993794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993788&x=3853',
		'title': '',
		'imageId': '67993788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993787&x=3853',
		'title': '',
		'imageId': '67993787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993790&x=3853',
		'title': '',
		'imageId': '67993790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993786&x=3853',
		'title': '',
		'imageId': '67993786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993791&x=3853',
		'title': '',
		'imageId': '67993791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993816&x=3853',
		'title': '',
		'imageId': '67993816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993822&x=3853',
		'title': '',
		'imageId': '67993822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993817&x=3853',
		'title': '',
		'imageId': '67993817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993819&x=3853',
		'title': '',
		'imageId': '67993819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993815&x=3853',
		'title': '',
		'imageId': '67993815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993814&x=3853',
		'title': '',
		'imageId': '67993814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993818&x=3853',
		'title': '',
		'imageId': '67993818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993823&x=3853',
		'title': '',
		'imageId': '67993823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993813&x=3853',
		'title': '',
		'imageId': '67993813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993841&x=3853',
		'title': '',
		'imageId': '67993841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=67993840&x=3853',
		'title': '',
		'imageId': '67993840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=59270415&x=3853',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923184&docid=59270407&x=3853',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923184';

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