var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741368&x=4643',
		'title': '',
		'imageId': '69741368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741374&x=4643',
		'title': '',
		'imageId': '69741374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741373&x=4643',
		'title': '',
		'imageId': '69741373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741380&x=4643',
		'title': '',
		'imageId': '69741380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741343&x=4643',
		'title': '',
		'imageId': '69741343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741356&x=4643',
		'title': '',
		'imageId': '69741356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741347&x=4643',
		'title': '',
		'imageId': '69741347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741342&x=4643',
		'title': '',
		'imageId': '69741342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741344&x=4643',
		'title': '',
		'imageId': '69741344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741361&x=4643',
		'title': '',
		'imageId': '69741361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741346&x=4643',
		'title': '',
		'imageId': '69741346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741350&x=4643',
		'title': '',
		'imageId': '69741350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741364&x=4643',
		'title': '',
		'imageId': '69741364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741345&x=4643',
		'title': '',
		'imageId': '69741345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741353&x=4643',
		'title': '',
		'imageId': '69741353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741365&x=4643',
		'title': '',
		'imageId': '69741365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741391&x=4643',
		'title': '',
		'imageId': '69741391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741392&x=4643',
		'title': '',
		'imageId': '69741392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741399&x=4643',
		'title': '',
		'imageId': '69741399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741400&x=4643',
		'title': '',
		'imageId': '69741400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741407&x=4643',
		'title': '',
		'imageId': '69741407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741406&x=4643',
		'title': '',
		'imageId': '69741406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741383&x=4643',
		'title': '',
		'imageId': '69741383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001127&docid=69741377&x=4643',
		'title': '',
		'imageId': '69741377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001127';

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