var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570557&x=5726',
		'title': '',
		'imageId': '70570557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570562&x=5726',
		'title': '',
		'imageId': '70570562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570563&x=5726',
		'title': '',
		'imageId': '70570563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570567&x=5726',
		'title': '',
		'imageId': '70570567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570498&x=5726',
		'title': '',
		'imageId': '70570498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570499&x=5726',
		'title': '',
		'imageId': '70570499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570501&x=5726',
		'title': '',
		'imageId': '70570501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570500&x=5726',
		'title': '',
		'imageId': '70570500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570502&x=5726',
		'title': '',
		'imageId': '70570502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570506&x=5726',
		'title': '',
		'imageId': '70570506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570509&x=5726',
		'title': '',
		'imageId': '70570509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570515&x=5726',
		'title': '',
		'imageId': '70570515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570517&x=5726',
		'title': '',
		'imageId': '70570517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570518&x=5726',
		'title': '',
		'imageId': '70570518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570524&x=5726',
		'title': '',
		'imageId': '70570524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570527&x=5726',
		'title': '',
		'imageId': '70570527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570535&x=5726',
		'title': '',
		'imageId': '70570535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570536&x=5726',
		'title': '',
		'imageId': '70570536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570531&x=5726',
		'title': '',
		'imageId': '70570531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570542&x=5726',
		'title': '',
		'imageId': '70570542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570545&x=5726',
		'title': '',
		'imageId': '70570545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570548&x=5726',
		'title': '',
		'imageId': '70570548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570553&x=5726',
		'title': '',
		'imageId': '70570553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034312&docid=70570555&x=5726',
		'title': '',
		'imageId': '70570555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034312';

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