var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633150&x=1822',
		'title': '',
		'imageId': '70633150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633176&x=1822',
		'title': '',
		'imageId': '70633176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633178&x=1822',
		'title': '',
		'imageId': '70633178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633174&x=1822',
		'title': '',
		'imageId': '70633174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633160&x=1822',
		'title': '',
		'imageId': '70633160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633159&x=1822',
		'title': '',
		'imageId': '70633159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633156&x=1822',
		'title': '',
		'imageId': '70633156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633169&x=1822',
		'title': '',
		'imageId': '70633169',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633153&x=1822',
		'title': '',
		'imageId': '70633153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633177&x=1822',
		'title': '',
		'imageId': '70633177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633167&x=1822',
		'title': '',
		'imageId': '70633167',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633149&x=1822',
		'title': '',
		'imageId': '70633149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633152&x=1822',
		'title': '',
		'imageId': '70633152',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633168&x=1822',
		'title': '',
		'imageId': '70633168',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633175&x=1822',
		'title': '',
		'imageId': '70633175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633173&x=1822',
		'title': '',
		'imageId': '70633173',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633179&x=1822',
		'title': '',
		'imageId': '70633179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633172&x=1822',
		'title': '',
		'imageId': '70633172',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633171&x=1822',
		'title': '',
		'imageId': '70633171',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633180&x=1822',
		'title': '',
		'imageId': '70633180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633170&x=1822',
		'title': '',
		'imageId': '70633170',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633151&x=1822',
		'title': '',
		'imageId': '70633151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633155&x=1822',
		'title': '',
		'imageId': '70633155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633161&x=1822',
		'title': '',
		'imageId': '70633161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633157&x=1822',
		'title': '',
		'imageId': '70633157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633162&x=1822',
		'title': '',
		'imageId': '70633162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633163&x=1822',
		'title': '',
		'imageId': '70633163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633164&x=1822',
		'title': '',
		'imageId': '70633164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633165&x=1822',
		'title': '',
		'imageId': '70633165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633166&x=1822',
		'title': '',
		'imageId': '70633166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633158&x=1822',
		'title': '',
		'imageId': '70633158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=70633154&x=1822',
		'title': '',
		'imageId': '70633154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=59270515&x=1822',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035097&docid=59270516&x=1822',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035097';

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