var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010947&x=285',
		'title': '',
		'imageId': '70010947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010957&x=285',
		'title': '',
		'imageId': '70010957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010968&x=285',
		'title': '',
		'imageId': '70010968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010950&x=285',
		'title': '',
		'imageId': '70010950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010955&x=285',
		'title': '',
		'imageId': '70010955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010961&x=285',
		'title': '',
		'imageId': '70010961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010959&x=285',
		'title': '',
		'imageId': '70010959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010956&x=285',
		'title': '',
		'imageId': '70010956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010949&x=285',
		'title': '',
		'imageId': '70010949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010953&x=285',
		'title': '',
		'imageId': '70010953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010958&x=285',
		'title': '',
		'imageId': '70010958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010965&x=285',
		'title': '',
		'imageId': '70010965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010962&x=285',
		'title': '',
		'imageId': '70010962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010966&x=285',
		'title': '',
		'imageId': '70010966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010948&x=285',
		'title': '',
		'imageId': '70010948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010954&x=285',
		'title': '',
		'imageId': '70010954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010952&x=285',
		'title': '',
		'imageId': '70010952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010960&x=285',
		'title': '',
		'imageId': '70010960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010964&x=285',
		'title': '',
		'imageId': '70010964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010967&x=285',
		'title': '',
		'imageId': '70010967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010951&x=285',
		'title': '',
		'imageId': '70010951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010963&x=285',
		'title': '',
		'imageId': '70010963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012260&docid=70010969&x=285',
		'title': '',
		'imageId': '70010969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012260';

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