var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012939&x=455',
		'title': '',
		'imageId': '70012939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012941&x=455',
		'title': '',
		'imageId': '70012941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012942&x=455',
		'title': '',
		'imageId': '70012942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012956&x=455',
		'title': '',
		'imageId': '70012956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012926&x=455',
		'title': '',
		'imageId': '70012926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012927&x=455',
		'title': '',
		'imageId': '70012927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012928&x=455',
		'title': '',
		'imageId': '70012928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012929&x=455',
		'title': '',
		'imageId': '70012929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012930&x=455',
		'title': '',
		'imageId': '70012930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012931&x=455',
		'title': '',
		'imageId': '70012931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012932&x=455',
		'title': '',
		'imageId': '70012932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012933&x=455',
		'title': '',
		'imageId': '70012933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012934&x=455',
		'title': '',
		'imageId': '70012934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012935&x=455',
		'title': '',
		'imageId': '70012935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012936&x=455',
		'title': '',
		'imageId': '70012936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012937&x=455',
		'title': '',
		'imageId': '70012937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012943&x=455',
		'title': '',
		'imageId': '70012943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012950&x=455',
		'title': '',
		'imageId': '70012950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012951&x=455',
		'title': '',
		'imageId': '70012951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012952&x=455',
		'title': '',
		'imageId': '70012952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012955&x=455',
		'title': '',
		'imageId': '70012955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012963&x=455',
		'title': '',
		'imageId': '70012963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012365&docid=70012938&x=455',
		'title': '',
		'imageId': '70012938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012365';

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